search for: qxuxixcxk

Displaying 1 result from an estimated 1 matches for "qxuxixcxk".

2004 Dec 02
2
regex to match word boundaries
Can someone verify whether or not this is a bug. When I substitute all occurrence of "\\B" with "X" R seems to correctly place an X at all non-word boundaries (whether or not I specify perl) but "\\b" does not seem to act on all complement positions: > gsub("\\b", "X", "abc def") # nothing done [1] "abc def" >