public static class PatternModel.AnchoredSearchMode extends PatternModel.RegexCreator
matchRule
Constructor | Description |
---|---|
AnchoredSearchMode() |
Modifier and Type | Method | Description |
---|---|---|
String |
createRegEx(String searchExp) |
|
boolean |
isAutoDetect() |
|
boolean |
isEndAnchored() |
returns true if the pattern must match from the beginning of the string,
or false if the pattern can match anywhere in a string.
|
boolean |
isStartAnchored() |
returns true if the pattern must match from the beginning of the string,
or false if the pattern can match anywhere in a string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createContainedRegEx, createEndAnchoredRegEx, createEqualsRegEx, createStartsAnchoredRegEx, getDefaultMatchRule, getMatchRule, getMatchRules, setMatchRule
public boolean isAutoDetect()
isAutoDetect
in class PatternModel.RegexCreator
public String createRegEx(String searchExp)
createRegEx
in class PatternModel.RegexCreator
public boolean isStartAnchored()
public boolean isEndAnchored()
Copyright © 2018. All rights reserved.