GLib.Regex.prototype.get_pattern

function get_pattern(): String {
    // Gjs wrapper for g_regex_get_pattern()
}
  

Gets the pattern string associated with regex, i.e. a copy of the string passed to GLib.Regex.new.

Since 2.14

Returns

the pattern of regex