This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug regex/11561] Collation characters represented by internal name instead of character sequence
- From: "bensberg at justemail dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 03 Feb 2013 15:37:37 +0000
- Subject: [Bug regex/11561] Collation characters represented by internal name instead of character sequence
- Auto-submitted: auto-generated
- References: <bug-11561-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=11561
Benno Schulenberg <bensberg at justemail dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bensberg at justemail dot
| |net
--- Comment #1 from Benno Schulenberg <bensberg at justemail dot net> 2013-02-03 15:37:37 UTC ---
> POSIX especially mentions [[.ch.]] in the example instead of [[.ch-digraph.]]
> so this is a bug in glibc. It shouldn't be hard to fix it in regcomp.
The easiest fix would be, in my opnion, to rename all the
collation-element names for digraphs from their hyphenated
form to the non-hyphenated form. But a few users may have
gotten used to using the hyphented forms, working around
this bug in glibc. They would be pissed. So for quite a
while both forms will have to recognized. Attached patch
is an attempt to do this -- when the user specifies [.xx.],
it will first try to look up "xx" in the table of collation
elements, and when that fails, it will look up "x-x". Is
this what you had in mind, Paolo?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.