Pattern.matchString

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

class Pattern
int
matchString
(
string string
)

Parameters

string string

the UTF-8 encoded string to match

Return Value

Type: int

TRUE if string matches pspec

Meta