
13 May
2008
13 May
'08
8:40 a.m.
Teddy Brielle wrote:
Hi,
I use the boost v1.35 regex library on Windows XP.
Have I done something wrong in my pattern or in my code (match flags,...) ?
I think this is a bug: currently \B only matches *within a word*, but I've checked what Perl does and that matches anything that isn't a word boundary, including those outside of a word. There's an easy fix that I'm committing, but in the mean time you could use: (?<=\W)\*(?=\W) as an alternative. HTH, John.