TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.89.4
Generated with TypeDoc via ts-for-gir v5.2.0
Matches a string against a pattern given as a string.
If this function is to be called in a loop, it’s more efficient to compile the pattern once with GLib.PatternSpec.new and call GLib.PatternSpec.match_string repeatedly.
the UTF-8 encoded pattern
the UTF-8 encoded string to match
true if string matches pspec
true
string
pspec
Matches a string against a pattern given as a string.
If this function is to be called in a loop, it’s more efficient to compile the pattern once with GLib.PatternSpec.new and call GLib.PatternSpec.match_string repeatedly.