@hatch:regex v0.1.1
Compiled regular expressions with capture groups, replace, and split.
$
hatch add @hatch:regex
Compiled regular expressions with capture groups, replace, and split.
Match.new_(map)
Match.text
Match.start
Match.end
Match.groups
Match.named
Match.toString
Match.group(i)
Match.group(name)
Regex.new_(id, pattern)
Regex.id
Regex.pattern
Regex.free
Regex.toString
Regex.static compile(pattern)
Regex.static compile(pattern, flags)
Regex.static escape(text)
Regex.isMatch(haystack)
Regex.find(haystack)
Regex.findAll(haystack)
Regex.replace(haystack, replacement)
Regex.replaceAll(haystack, replacement)
Regex.split(haystack)
Regex.splitN(haystack, n)
Regex.checkAlive_()