Are Lookahead and Lookbehind Zero-Width Assertions part of the exam topics?

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

Moderator: admin

Post Reply
The_Nick
Posts: 132
Joined: Thu May 16, 2013 9:23 am
Contact:

Are Lookahead and Lookbehind Zero-Width Assertions part of the exam topics?

Post by The_Nick »

Are Lookahead and Lookbehind Zero-Width Assertions part of the exam topics?

http://www.regular-expressions.info/lookaround.html

It might be a good topic to test these method:
hasTransparentBounds
public boolean hasTransparentBounds()Queries the transparency of region bounds for this matcher.
This method returns true if this matcher uses transparent bounds, false if it uses opaque bounds.

See useTransparentBounds for a description of transparent and opaque bounds.

By default, a matcher uses opaque region boundaries.

Returns:
true iff this matcher is using transparent bounds, false otherwise.
What do you thing about it, too regex specific for a general programmer exam?

The_Nick

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

Re: Are Lookahead and Lookbehind Zero-Width Assertions part of the exam topics?

Post by admin »

No, not required for the exam.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests