Regex.getPattern

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

class Regex
string
getPattern
()

Return Value

Type: string

the pattern of regex

Meta

Since

2.14