This is the mail archive of the glibc-bugs-regex@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regex/693] mishandled '\B'


------- Additional Comments From paolo dot bonzini at lu dot unisi dot ch  2005-01-30 13:33 -------
Subject: Re:  mishandled '\B'

> bash-2.05b$ gawk-3.1.1 -f gnureop2.awk # old regex
> 1
>  x 
> bash-2.05b$ ./gawk -f gnureop2.awk      # current CVS glibc regex
> 1
> x x x

It looks like old regex special-cased the first and last character so 
that is was neither a word character nor a non-word character.  The 
current behavior is more consistent.  FWIW, PCRE also shows the same 
behavior as current CVS glibc regex.

Paolo


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=693

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]