[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:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 |
URL:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=5115>
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
_______________________________________________________
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Saturday 05/20/2006 at 16:27 Name: dfa.patch Size: 2.41KB By: bbyer
<http://savannah.gnu.org/patch/download.php?file_id=10015>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=5115>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [patch #5115] grep [^[.a.]b] fails with input abc,
Ben Byer <=