bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #29188] Collating symbols and equivalence classes incorrectly parse


From: Paolo Bonzini
Subject: [bug #29188] Collating symbols and equivalence classes incorrectly parsed if !MBS_SUPPORT
Date: Thu, 11 Mar 2010 09:02:47 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]