httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: [users@httpd] Regexps not unicode-compatible
Date Wed, 23 Jan 2019 21:15:45 GMT
Hello,

On Wed, Jan 23, 2019 at 5:11 PM Alexandre Garreau
<galex-713@galex-713.eu> wrote:
>
> However, I noticed that in apache these last ones won’t work and
> will only support ascii.  Why a such restriction?  Couldn’t it
> support at least optionally unicode at least on GNU systems?

Apache httpd uses the PCRE library internally for its regexps, so
provided the linked libpcre supports unicode one can prefix any
pattern with "(*UTF)" like, e.g. "(*UTF)^/ceci/o[uù]/celà$", and it
should work (supposedly).

Hope that helps..

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message