patternMatchString

⚠️ Deprecated ⚠️

This is deprecated since version 2.70.

Use g_pattern_spec_match_string() instead

---

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.

Return

true if @string matches @pspec

Parameters

pspec

a #GPatternSpec

string

the UTF-8 encoded string to match