public interface Matcher
extends de.unkrig.ref4j.Matcher
Matcher.| Modifier and Type | Method and Description |
|---|---|
boolean |
hitStart()
Returns
true iff the start of input was hit by the search engine in the last match operation
performed by this matcher; this can only happen if the pattern starts with a boundary matcher or contains
lookbehind constructs. |
boolean |
requireStart()
Returns
true iff the start of the transparent region was hit by the search engine in the last match
operation performed by this matcher; this can only happen if the pattern starts with a boundary matcher or
contains lookbehind constructs. |
appendReplacement, appendTail, end, end, end, find, find, group, group, group, groupCount, hasAnchoringBounds, hasTransparentBounds, hitEnd, lookingAt, matches, pattern, region, regionEnd, regionStart, replaceAll, replaceFirst, requireEnd, reset, reset, start, start, start, toMatchResult, toString, useAnchoringBounds, usePattern, useTransparentBoundsboolean requireStart()
true iff the start of the transparent region was hit by the search engine in the last match
operation performed by this matcher; this can only happen if the pattern starts with a boundary matcher or
contains lookbehind constructs.
When this method returns true, then it is possible that more input before the capturing
region would have changed the result of the last search.
boolean hitStart()
true iff the start of input was hit by the search engine in the last match operation
performed by this matcher; this can only happen if the pattern starts with a boundary matcher or contains
lookbehind constructs.
When this method returns true, then it is possible that more input before the capturing
region would have changed the result of the last search.
Copyright © 2017 Arno Unkrig. All rights reserved.