Re: [pcre-dev] pcre help required

Kezdőlap
Üzenet törlése
Szerző: Philip Hazel
Dátum:  
Címzett: Aakash Jain
CC: pcre-dev
Tárgy: Re: [pcre-dev] pcre help required
On Wed, 15 Apr 2009, Aakash Jain wrote:

> I want to know the Algorithm used for compiling the regular expression and
> how we are filling the code variable in the pcre structure ?


It is rather complicated and the only way to understand it is to read
the code and figure out how it does it. There are some notes about the
format of the compiled pattern in the file HACKING in the PCRE
distribution. I do not have the time (or, I'm afraid, the interest) in
trying to explain it any more than that.

Philip

--
Philip Hazel