Bug 208117

Summary: regex(3): implement equivalence classes
Product: Base System Reporter: Delles <geodelles>
Component: binAssignee: Yuri Pankov <yuripv>
Status: In Progress ---    
Severity: Affects Only Me CC: eadler, tablosazi.farahan, yuripv
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

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