Re: Regexps not unicode-compatible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 23, 2019 at 10:15 PM Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
>
> Hello,
>
> On Wed, Jan 23, 2019 at 5:11 PM Alexandre Garreau
> <galex-713@xxxxxxxxxxxx> 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..

This page may help too: https://www.pcre.org/original/doc/html/pcreunicode.html

>
> Regards,
> Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux