CompiledRegex
Defined in: packages/format-regex/src/regex.ts:7
A parsed and compiled pattern, ready to match repeatedly without re-parsing.
Properties
Section titled “Properties”groupCount
Section titled “groupCount”
readonlygroupCount:number
Defined in: packages/format-regex/src/regex.ts:9
source
Section titled “source”
readonlysource:string
Defined in: packages/format-regex/src/regex.ts:8
Methods
Section titled “Methods”exec()
Section titled “exec()”exec(
input):RegexMatch|undefined
Defined in: packages/format-regex/src/regex.ts:11
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”RegexMatch | undefined
test()
Section titled “test()”test(
input):boolean
Defined in: packages/format-regex/src/regex.ts:10
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean