Bug 208117 - regex(3): implement equivalence classes
Summary: regex(3): implement equivalence classes
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Pankov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-18 09:45 UTC by Delles
Modified: 2018-12-12 16:00 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Delles 2016-03-18 09:45:38 UTC
% echo á | grep '[[=a=]]'
% echo ô | grep '[[=o=]]'
% 

On Linux to compare:

$ echo á | grep '[[=a=]]'
á
$ echo ô | grep '[[=o=]]'
ô
$

See the IEEE Std:

«9.3.5 RE Bracket Expression
...It consists of one or more expressions: collating elements, collating symbols, equivalence classes...»

http://pubs.opengroup.org/onlinepubs/009696899/basedefs/xbd_chap09.html
Comment 1 vali gholami 2017-12-17 07:13:08 UTC
MARKED AS SPAM