Control: tags -1 + fixed-in-experimental El 22/08/13 a las 16:41, a...@barak.in escribió: > Package: grep > Version: 2.12-2 > Severity: normal > > Dear Maintainer, > regexp quantifiers \< \> \b \B \w \W give wrong results with unicode > words. > > example: > $ echo "я" | grep -q "\<я"; echo $? > 1 > > i wrote small test script (see attachm.). > it's result: > \<x x\> \bx x\b x\B \Bx \w \W > b: 0 0 0 0 1 1 0 1 > я: 1 1 1 1 0 0 1 0 > Σ: 1 1 1 1 0 0 1 0 > ä: 1 1 1 1 0 0 1 0 >
Hi, grep 2.21 fixes these boundaries. For the moment, it is available in experimental. \<x x\> \bx x\b x\B \Bx \w \W b: 0 0 0 0 1 1 0 1 я: 0 0 0 0 1 1 0 1 Σ: 0 0 0 0 1 1 0 1 ä: 0 0 0 0 1 1 0 1 a: 0 0 0 0 1 1 0 1 Cheers, Santiago -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org