Page 1 of 1

About Question enthuware.ocpjp.v7.2.1731 :

Posted: Sun Jul 03, 2016 5:47 am
by homeric
What do you mean when you say that \\b does not consume any character? Word boundary occurs at 0th position and 2nd position.

Re: About Question enthuware.ocpjp.v7.2.1731 :

Posted: Sun Jul 03, 2016 6:03 am
by admin
It means even if \\b causes a match, you will not lose a character from the input in matching it. This is quite fundamental to regular expressions and is not possible to explain in a post. You should go through a book or a tutorial to understand what it means.

HTH,
Paul.