RegexParser

constructor(regex: Regex)

Parameters

regex

A regular expression pattern to search for. The search will succeed only if there is a string that matches this pattern at the search start position.