Re: [pcre-dev] Creating FA from PCRE rules

Página superior
Eliminar este mensaje
Autor: Philip Hazel
Fecha:  
A: Galloth
Cc: pcre-dev
Asunto: Re: [pcre-dev] Creating FA from PCRE rules
On Wed, 15 Jul 2009, Galloth wrote:

> I would like to create Final automata from the PCRE patterns. (I know,
> that some features can not be transform into FA, so this features will
> be ignored). I am planning to use flex/bison to parse PCRE patterns.
> Therefore I would like to ask if there is any grammar for PCRE rules.
> The only detailed description I know are manpages for the PCRE library
> and Perl documentation, which simply contains all possible structures.


Sorry, I do not think there is any kind of formal grammar for Perl
regular expressions.

Philip

--
Philip Hazel