httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <>
Subject Re: b11 + mod_perl + BrowserMatch
Date Sat, 31 May 1997 13:03:19 GMT
Rasmus Lerdorf wrote:
> > That can't be right; Spencer's libs are POSIX regex libs. They are, in
> > fact, used as such in some OSes (such as FreeBSD, if I recall
> > correctly). mod_browser should work just fine with either. I don't see
> > a check for regex library anywhere in mod_rewrite; at least, not the
> > version that's bundled with Apache. Can you be more specific?
> > Certainly, there are still some parts of mod_rewrite left over from
> > when it ran with both POSIX regex and the V8 regex, which may be what
> > you're thinking of.
> Right, it was the V8 regex vs. POSIX checks still in mod_rewrite I was
> thinking of.  
> There are still compatibility differences between hsregex and
> conventional Posix regex libs though. For example. This bit of code only
> works with hsregex:
>         subs[0].rm_so = i;
>         subs[0].rm_eo = l;
>         err = regexec(&re, string, (size_t)NS, subs, REG_STARTEND);

I don't think the above is POSIX though... Even though Spencer's
functions are POSIX, they are also a "superset" of POSIX; we should
avoid any library specific functions.

In the meantime, what should we do.... Should we put Makefile.tmpl
back the way it was for 1.2??
      Jim Jagielski            |       jaguNET Access Services           |
                  "Not the Craw... the CRAW!"

View raw message