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, waitcreateContainedRegEx, 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 © 2018. All rights reserved.