- rangeToRegex(from, to?): Char | CharacterClass | Alternative | Group | Backreference | Repetition | Assertion
-
Parameters
-
from: number
-
to: number = Infinity
Returns Char | CharacterClass | Alternative | Group | Backreference | Repetition | Assertion
Range pattern.
Get regex for given numeric range.