About Question com.enthuware.ets.scjp.v6.2.119 :

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

Moderator: admin

Post Reply
Lodengruen
Posts: 5
Joined: Fri Oct 11, 2013 11:21 am
Contact:

About Question com.enthuware.ets.scjp.v6.2.119 :

Post by Lodengruen »

The question asks for "hex numbers that are delimited by at least one whitespace at either end in an input text", so the "\b" in the solution expression is wrong in my opinion, since it allows the hex number to start with the first character or end with the last character, and I think "end of string" ist not a whitespace!

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

Re: About Question com.enthuware.ets.scjp.v6.2.119 :

Post by admin »

It says, "whitespace at either end" not "at both ends", so I think it fine although I agree that it is not very clear.

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

chang_surrey
Posts: 7
Joined: Wed Dec 04, 2013 5:07 pm
Contact:

Re: About Question com.enthuware.ets.scjp.v6.2.119 :

Post by chang_surrey »

Although this question can be answered correctly through eliminating the wrong options, I think it's worth noting that "\b" is out of the exam's scope.

http://education.oracle.com/pls/web_pro ... id:1Z0-851

where Section 3 says the regex patterns will be limited to: . (dot), * (star), + (plus), ?, \d, \s, \w, [], ()

Thanks for the nice question though :D

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests