flex is the lexical analyzer tool, and is a gnu version of lex
bison is the parser generator, and is a gnu version of yacc.
flex requires you to write a rule-set, and will then generate c source
code. However, there are a lot of other libraries specialized on handling
regexp, i.e. they allow the regexp to be specified as a text string during
run-time.
/Per W
On Sun, 13 Apr 2003 cbu...@to... wrote:
> Hello!
>
> There's a tool called "flex" which generates C routines that do regexp
> based pattern matching.on text.
>
> In Linux this tool is included by most of the distros. It is also included
> with DJGPP, which is the DOS port of the GCC C compiler. I see that
> Mingw has Bison as an experimental package, but that's something
> different
>
> Regards
>
> Cristian Burneci
>
> Szathmary Laszlo <sz...@de...> wrote:
>
> Hi!
>
> I first met regular expressions in Perl. In this language it's very easy
> to use regexp, so could anyone tell me how to transform them to C?
>
> <snip>
>
>
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise solutions
> www.enterpriselinuxforum.com
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|