Class std.re.Pattern
Synopsis
public final class Pattern
Represents a compiled regular expression.
Fields
Constructors
Construct a pattern.
Methods
Attempt a match at the beginning of the string.
If there is any match at the beginning, including a zero-size match,
returns a std.re.Match
object; otherwise, returns null
.
Attempt to match at the specified position.
If there is any match at the indicated position in the string,
including a zero-size match, returns a std.re.Match
object;
otherwise, returns null
.