Regex.getPattern

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

class Regex
string
getPattern
()

Return Value

Type: string

the pattern of regex