Rob Dixon wrote:
On 20/07/2010 16:22, Chandan Kumar wrote:

Small confusion about word boundaries. word boundaries matches
anything between non-word character and word character ,right.

Not quite.

Quite.

/\b/ matches any (zero-length) point in a string between a
word and a non-word character,

Correct.

or between a word character and the
beginning or end of the string,

Incorrect.  It matches *only* between \w and \W characters.




John
--
Any intelligent fool can make things bigger and
more complex... It takes a touch of genius -
and a lot of courage to move in the opposite
direction.                   -- Albert Einstein

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to