bug-grep
[Top][All Lists]
Advanced

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

bug#18817: \w is not synonym for [[:alnum:]] in UTF-8 locales


From: Eric Blake
Subject: bug#18817: \w is not synonym for [[:alnum:]] in UTF-8 locales
Date: Fri, 24 Oct 2014 15:04:25 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 10/24/2014 11:26 AM, Norihiro Tanaka wrote:
> As \w and \W have been supported in single byte locales only, I added
> support in multibyte locales.
> 

> +
> +          /* \w and \W are documented to be equivalent to [_[:album:]] and
> +             [^_[:alnum:]] respectively, so tell the lexer to process those
> +             strings, each minus its "already processed" '['.  */

s/album/alnum/

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]