new

fun new(pattern: String): PatternSpec

Compiles a pattern to a type@GLib.PatternSpec.

Return

a newly-allocated type@GLib.PatternSpec

Parameters

pattern

a zero-terminated UTF-8 encoded string