On Feb 14, 2008 12:34 AM, Victor M. <[EMAIL PROTECTED]> wrote:
> Thanks for the source code but I am surprised that there is nothing like
> 'find-and-replace' in the Factor library.

peg.search (or is it peg.replace) has a 'replace' word that lets you
search and replace in strings. The thing to search for needs to be a
combinator but you could use 'token' for a string. See the help for
the vocab.

Chris.
-- 
http://www.bluishcoder.co.nz

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to