Re: [pcre-dev] pcre help required

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: Aakash Jain
CC: pcre-dev
Subject: 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