search for: dxexf

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

2004 Dec 02
2
regex to match word boundaries
...r 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" > gsub("\\B", "X", "abc def") # as expected, I think [1] "aXbXc dXeXf" > gsub("\\b", "X", "abc def", perl = TRUE) # not as expected [1] "abc Xdef" > gsub("\\B", "X", "abc def", perl = TRUE) # as expected [1] "aXbXc dXeXf" > R.version.string # Windows 2000 [1] "R versi...