:right-sidebar: True PatternSpec =================================================================== .. currentmodule:: gi.repository.GObject .. class:: PatternSpec(**kwargs) :no-contents-entry: :Constructors: :: new(pattern:str) -> GLib.PatternSpec Constructors ------------ .. rst-class:: interim-class .. class:: PatternSpec :no-index: .. classmethod:: new(pattern: str) -> ~gi.repository.GLib.PatternSpec :param pattern: Methods ------- .. rst-class:: interim-class .. class:: PatternSpec :no-index: .. method:: equal(pspec2: ~gi.repository.GLib.PatternSpec) -> bool :param pspec2: .. method:: free() -> None .. method:: match(string_length: int, string: str, string_reversed: str | None = None) -> bool :param string_length: :param string: :param string_reversed: .. method:: match_string(string: str) -> bool :param string: