Dan and Chris:

Thanks for your help, I'll check peg and parser-combinators.regexp.
It's a great help.

2009/1/18 Chris Double <[email protected]>

> On Sun, Jan 18, 2009 at 6:09 AM, Daniel Ehrenberg <[email protected]>
> wrote:
> > Regexp group caputure hasn't been fully debugged yet. You should try
> > using some other parsing mechanism, like pegs. Hopefully this will be
> > fixed soon.
>
> For peg.ebnf it would look something like:
>
> "<em>123</em>" [EBNF rule="<em>" ([0-9])+ "</em> => [[ second ]] EBNF]
>
> Or if you want to search for all occurences in a string:
>
> USE: peg.search
> USE: peg.ebnf
>
> ..string... <EBNF rule="<em>" ([0-9])+ "</em> => [[ second ]] EBNF> search
>
> Chris.
> --
> http://www.bluishcoder.co.nz
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to