Or you might have more luck with parser-combinators.regexp. I'm pretty sure that implements group caputure correctly.
On Sat, Jan 17, 2009 at 11: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. > > Dan > > On Fri, Jan 16, 2009 at 8:17 PM, W.Ch Lin <[email protected]> wrote: >> I run into a problem when getting numbers from some html with regexp. >> Why >> "<em>123</em>" "<em>(\\d+)</em>" <regexp> match* >> doesn't match 123 but 1 ? >> >> >> Thanks >> >> ------------------------------------------------------------------------------ >> 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
