Pattern

Method Summary

Methods 
Modifier and Type Method and Description
static Pattern compile(String regex)
Compiles the given regular expression into a pattern.
static Pattern compile(String regex, int flags)
Compiles the given regular expression into a pattern with the given flags.
int flags()
Returns this pattern's match flags.
Matcher matcher(CharSequence input)
Creates a matcher that will match the given input against this pattern.
static boolean matches(String regex, CharSequence input)
Compiles the given regular expression and attempts to match the given input against it.
String pattern()
Returns the regular expression from which this pattern was compiled.
static String quote(String s)
Returns a literal pattern String for the specified String.
String[] split(CharSequence input)
Splits the given input sequence around matches of this pattern.
String[] split(CharSequence input, int limit)
Splits the given input sequence around matches of this pattern.
String toString()
Returns the string representation of this pattern.

results matching ""

    No results matching ""