Regex::Regex - mfichman/jogo GitHub Wiki

A compiled representation of a regular expression. Regular expressions are used to match arbitrary strings.

@init(regex String)

Constructs a new regular expression from the given string.

@destroy()

Frees the regular expression.

@match(str String) Regex::Match

Returns true if this regular expression matches 'str'

error?() String

Returns nil if there is no error code; otherwise, returns the error string.

dump()