Return all matches of this regexp in given character sequence as an iterator
Return optionally first matching string of this regexp in given character sequence, None if it does not exist.
Return optionally first match of this regexp in given character sequence, None if it does not exist.
Return optionally match of this regexp at the beginning of the given character sequence, or None if regexp matches no prefix of the character sequence.
Return optionally match of this regexp at the beginning of the given character sequence, or None if regexp matches no prefix of the character sequence.
The compiled pattern
Replaces all matches using a replacer function.
Replaces all matches using a replacer function.
The string to match.
The function which maps a match to another string.
The target string after replacements.
Replaces all matches by a string.
Replaces all matches by a string.
The string to match
The string that will replace each match
The resulting string
Replaces the first match by a string.
Replaces the first match by a string.
The string to match
The string that will replace the match
The resulting string
Splits the provided character sequence around matches of this regexp.
Splits the provided character sequence around matches of this regexp.
The character sequence to split
The array of strings computed by splitting the input around matches of this regexp
The string defining the regular expression
Tries to match target (whole match) and returns the matches.
Tries to match target (whole match) and returns the matches.
The string to match
The matches
This class provides methods for creating and using regular expressions. It is based on the regular expressions of the JDK since 1.4.
You can use special pattern syntax construct
(?idmsux-idmsux)
to switch various regex compilation options likeCASE_INSENSITIVE
orUNICODE_CASE
. Seejava.util.regex.Pattern
javadoc for details.1.1, 29/01/2008