Re: [pcre-dev] matching at a word boundary

Top Page
Delete this message
Author: David Byron
Date:  
To: pcre-dev
Subject: Re: [pcre-dev] matching at a word boundary
> I think this explains what you are seeing. You can only
> match \b at the start of a string if the first character
> is a word character.
>
> What you will have to do is to replace \b at the start
> with whatever you actually expect to be before [. For
> example, (^|\s+) matches either the start of the string,
> or any amount of whitespace.


Thanks for the help. I should have RTFM more.

-DB