DOCS v0.1.13 github

@hatch:regex v0.1.1

Compiled regular expressions with capture groups, replace, and split.

stable data updated May 1, 2026 source ↗
README
$ hatch add @hatch:regex

MOD regex

CL Match

NEW Match.new_(map)

GET Match.text

GET Match.start

GET Match.end

GET Match.groups

GET Match.named

GET Match.toString

FN Match.group(i)

FN Match.group(name)

CL Regex

NEW Regex.new_(id, pattern)

GET Regex.id

GET Regex.pattern

GET Regex.free

GET Regex.toString

FN Regex.static compile(pattern)

FN Regex.static compile(pattern, flags)

FN Regex.static escape(text)

FN Regex.isMatch(haystack)

FN Regex.find(haystack)

FN Regex.findAll(haystack)

FN Regex.replace(haystack, replacement)

FN Regex.replaceAll(haystack, replacement)

FN Regex.split(haystack)

FN Regex.splitN(haystack, n)

FN Regex.checkAlive_()