[antlr-interest] Antlr grammar for regular expressions

Matt Benson gudnabrsam at yahoo.com
Tue Jul 31 07:28:39 PDT 2007


--- srðan bejakoviæ <s.bejakovic at gmail.com> wrote:

> Hi all,
> 
> does anyone know of an Antlr grammar for parsing
> (perl or java) regular
> expressions? I started implementing something like
> this, but I don't want to
> (suboptimally) reinvent something that probably
> already exists. Thanks,

Why would you need to do this?  There are enough regex
libraries available that I can't imagine why you would
need to implement your own... ANTLR is cool, but if
you're already looking for prior art, why is it
important that it be implemented using ANTLR?

-Matt

> 
> Srdan
> 



       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC


More information about the antlr-interest mailing list