| Modifier and Type | Method and Description |
|---|---|
static Atomic<String> |
endsWith(String str)
Returns a pattern that matches strings ending with a given suffix.
|
static Atomic<String> |
equalsIgnoreCase(String str) |
static Pattern<String> |
find(String regex,
Pattern<? super String>... ps) |
static Pattern<String> |
length(Pattern<? super Integer> body) |
static Atomic<String> |
matches(String regex) |
static Pattern<String> |
matches(String regex,
Pattern<? super String>... ps) |
static Atomic<String> |
startsWith(String str)
Returns a pattern that matches strings starting with a given prefix.
|
static Pattern<String> |
tokenize(Pattern<? super String> body) |
static Pattern<String> |
tokenize(String delim,
boolean returnDelims,
Pattern<? super String> body) |
static Pattern<String> |
tokenize(String delim,
Pattern<? super String> body) |
public static Atomic<String> startsWith(String str)
A pattern returned by this method is deterministic and binds no variables.
str - the prefix to match against.IllegalArgumentException - if str is null.String.startsWith(String)public static Atomic<String> endsWith(String str)
A pattern returned by this method is deterministic and binds no variables.
str - the suffix to match against.IllegalArgumentException - if str is null.String.endsWith(String)see also the complete user documentation .