PDA

View Full Version : pcre Grammar Rule



Andrea_44
March 6th, 2007, 02:03 AM
Hi

I have been working on a PCRE (Perl Compatible Regular Expression) parser recently. I feel that PCRE is a very extensive regex language, if a Grammar Rule for PCRE is available, it will make my life easier.

Not sure if any one has any information regarding the PCRE grammar rule, or any previously implemented parser for PCRE?

Otherwise I shall continue coding from scratch.

I have read the PCRE documentation "http://perldoc.perl.org/perlre.html".

Any help will be greatly appreciated!

Thanks~
Andrea

pmasiar
March 6th, 2007, 02:18 AM
I have been working on a PCRE (Perl Compatible Regular Expression) parser recently.

No offense, and I am in no way an expert, but what is the goal of your project? Where it is supposed to be used? IMHO it looks like reinventing pretty round wheel - thousands of hours were invested to make C libraries for that. How would be your project different?