public inbox for glibc-bugs-regex@sourceware.org
help / color / mirror / Atom feed
* [Bug regex/1149] New: character class with range doesn't match half-width kana in SJIS locale
@ 2005-08-02  4:37 kimura dot koichi at canon dot co dot jp
  2005-09-27 20:05 ` [Bug regex/1149] " drepper at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: kimura dot koichi at canon dot co dot jp @ 2005-08-02  4:37 UTC (permalink / raw)
  To: glibc-bugs-regex

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

In GNU sed 4.1.4 (regex.c is drawn from glibc), 
japanse half-width caracter in SJIS locale doesn't match
character class with range.

LC_ALL=ja_JP.SJIS
export LC_ALL
echo ±²³´µ | sed -ne '/[±-µ]\+/p'

above shell script print nothing.
any other japanese full-width kana character match correctly.

note:

echo ±²³´µ | sed -ne '/[±²³´µ]\+/p'

is print correctly.

-- 
           Summary: character class with range doesn't match half-width kana
                    in SJIS locale
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: regex
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: kimura dot koichi at canon dot co dot jp
                CC: glibc-bugs-regex at sources dot redhat dot com,glibc-
                    bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1149

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-05-02 22:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-02  4:37 [Bug regex/1149] New: character class with range doesn't match half-width kana in SJIS locale kimura dot koichi at canon dot co dot jp
2005-09-27 20:05 ` [Bug regex/1149] " drepper at redhat dot com
2006-01-27  6:00 ` kimura dot koichi at canon dot co dot jp
2006-02-01  4:48 ` kimura dot koichi at canon dot co dot jp
2006-04-25 18:12 ` drepper at redhat dot com
2006-04-26  7:04 ` bonzini at gnu dot org
2006-05-02 22:33 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).