[Top][All Lists]

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

[patch #5115] grep [^[.a.]b] fails with input abc

From: Ben Byer
Subject: [patch #5115] grep [^[.a.]b] fails with input abc
Date: Sat, 20 May 2006 16:27:10 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv: Gecko/20060111 Firefox/


                 Summary: grep [^[.a.]b] fails with input abc
                 Project: grep
            Submitted by: bbyer
            Submitted on: Saturday 05/20/2006 at 16:27
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open




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.


File Attachments:

Date: Saturday 05/20/2006 at 16:27  Name: dfa.patch  Size: 2.41KB   By: bbyer



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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