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, setMatchRulepublic boolean isAutoDetect()
isAutoDetect in class PatternModel.RegexCreatorpublic String createRegEx(String searchExp)
createRegEx in class PatternModel.RegexCreatorpublic boolean isStartAnchored()
public boolean isEndAnchored()
Copyright © 2017. All Rights Reserved.