Re: Regexp mess?

2007-05-09 Thread Roy T. Fielding
On May 8, 2007, at 7:20 PM, Tim Bray wrote: Why are the regex-related routine declarations splashed across httpd.h and ap_regex.h? And why are there two versions of regcomp, only one of which takes a pool for allocation? Too much history and a bit of indecisiveness. We originally used a d

Re: Regexp mess?

2007-05-08 Thread Mads Toftum
On Tue, May 08, 2007 at 07:20:42PM -0700, Tim Bray wrote: > Why are the regex-related routine declarations splashed across > httpd.h and ap_regex.h? Because httpd brings its own copy of pcre and needs to wrap it somehow. > And why are they ap_ > instead of apr_? Because it is in httpd sourc

Regexp mess?

2007-05-08 Thread Tim Bray
Why are the regex-related routine declarations splashed across httpd.h and ap_regex.h? And why are there two versions of regcomp, only one of which takes a pool for allocation? And why are they ap_ instead of apr_? And why is it so hard to find any documentation on them? Fortunately the