About Question enthuware.ocpjp.v7.2.1731 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
homeric
Posts: 6
Joined: Sun Mar 13, 2016 1:34 am
Contact:

About Question enthuware.ocpjp.v7.2.1731 :

Post 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.

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests