Looking for pattern matchers

James Barr a38 at nikhefh.nikhef.nl
Sat Feb 23 01:01:28 AEST 1991


Hi,

can anyone point me towards a regular expression matcher
that acts like lex in that you can add a number of different
expressions so that a token is returned on matching a
particular expression. I could do it simply by calling
re_exec or the like sequentially for each expression,
but this is a bit inefficient.  I'd like to be able to
add and remove expressions dynamically.

Cheers,
james


-- 
James Barr                                        ...............       ......
+31 20-592-5104                                   ...........       ..........
James.Barr at nikhef.nl                              ......        ..............
NIKHEF, Kruislaan 409, 1009DB Amsterdam           ..        ..................



More information about the Comp.lang.c mailing list