Pattern.patternMatchString

Matches a string against a compiled pattern. If the string is to be matched against more than one pattern, consider using Pattern.match instead while supplying the reversed string.

class Pattern
static
bool
patternMatchString

Parameters

pspec Pattern
string_ string

the UTF-8 encoded string to match

Return Value

Type: bool

TRUE if string matches pspec