Mailinglist Archive: opensuse-bugs (9719 mails)

< Previous Next >
[Bug 329992] Invalid behavior of grep with regexp ^[A-Z]
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 27 Nov 2007 08:58:55 -0700 (MST)
  • Message-id: <20071127155855.DC399CC6B5@xxxxxxxxxxxxxxxxxxxxxx>

Michael Matz <matz@xxxxxxxxxx> changed:

What |Removed |Added

--- Comment #17 from Michael Matz <matz@xxxxxxxxxx> 2007-11-27 08:58:55 MST ---
In my system /usr/share/i18n/locales/iso14651_t1_common tells me this about
p and P:

<U0070> <p>;<BAS>;<MIN>;IGNORE # 410 p
<U0050> <p>;<BAS>;<CAP>;IGNORE # 725 P

(that file is used for UTF-8 locales). So p and P are both sorted as <p>, as
non-accented character (<BAS>) and as miniscule (<MIN>) resp. capital (<CAP>).

This means that p < P. It also means that A < p < P < Z, which means that
[A-Z] should indeed include p, if the locale definition file still looks the
same. So there might be a bug in glibc, in that it doesn't take into account

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >