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

Página Principal
Apagar esta mensagem
Autor: David Byron
Data:  
Para: pcre-dev
Assunto: 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