matchString

fun matchString(string: String): Boolean

Matches a string against a compiled pattern.

If the string is to be matched against more than one pattern, consider using method@GLib.PatternSpec.match instead while supplying the reversed string.

Return

true if @string matches @pspec

Since

2.70

Parameters

string

the UTF-8 encoded string to match