PatternSpec# class PatternSpec(**kwargs)# Constructors: new(pattern:str) -> GLib.PatternSpec Constructors# class PatternSpec classmethod new(pattern: str) → PatternSpec# Parameters: pattern Methods# class PatternSpec equal(pspec2: PatternSpec) → bool# Parameters: pspec2 free() → None# match(string_length: int, string: str, string_reversed: str | None = None) → bool# Parameters: string_length string string_reversed match_string(string: str) → bool# Parameters: string