public static class PatternModel.AnchoredSearchMode extends PatternModel.RegexCreator
matchRule
Constructor and Description |
---|
AnchoredSearchMode() |
Modifier and Type | Method and 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.
|
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 © 2017. All rights reserved.