PatternSpec.matchString

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

class PatternSpec
bool
matchString
(
string string_
)

Parameters

string_ string

the UTF-8 encoded string to match

Return Value

Type: bool

true if string matches pspec