GNU bug report logs -
#15440
[PATCH] dfa: fix \s and \S to work for multibyte
Previous Next
Reported by: Jim Meyering <jim <at> meyering.net>
Date: Mon, 23 Sep 2013 05:18:02 UTC
Severity: normal
Tags: patch
Done: Jim Meyering <jim <at> meyering.net>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 15440 <at> debbugs.gnu.org (full text, mbox):
On Tue, Sep 24, 2013 at 5:24 AM, Aharon Robbins <arnold <at> skeeve.com> wrote:
> Hi Jim.
>
> I should note that gawk uses its own regex, although it does rely
> on glibc for isspace / iswspace etc...
...
close 15440
thanks
I've pushed my grep patches, but chose to omit 4 multibyte space
characters from the list in the test, since each of those would
provoke a failure on recent glibc-based systems (fedora 19). That
seems to be due to errors in glibc's UTF-8 multibyte flags (wrong
whitespace bit) for those characters.
Arnold, I tried your latest gawk on a Fedora 19 system, and see the
same failure for those four characters, e.g.,
$ printf '\xc2\xa0\n' | LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 ./gawk
'/[[:space:]]/'|wc -c
0
This bug report was last modified 11 years and 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.