URL:
<http://savannah.gnu.org/bugs/?29188>
Summary: Collating symbols and equivalence classes
incorrectly parsed if !MBS_SUPPORT
Project: grep
Submitted by: bbyer
Submitted on: Thu 11 Mar 2010 10:02:46 AM CET
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
From
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html#tag_09_03_05
A collating symbol is a collating element enclosed within bracket-period (
"[." and ".]" ) delimiters. Collating elements are defined as described in
Collation Order . Conforming applications shall represent multi-character
collating elements as collating symbols when it is necessary to distinguish
them from a list of the individual characters that make up the multi-character
collating element. For example, if the string "ch" is a collating element
defined using the line:
collating-element <ch-digraph> from "<c><h>"
in the locale definition, the expression "[[.ch.]]" shall be treated as an RE
containing the collating symbol 'ch' , while "[ch]" shall be treated as an RE
matching 'c' or 'h' . Collating symbols are recognized only inside bracket
expressions. If the string is not a collating element in the current locale,
the expression is invalid.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29188>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/