Vocabulary
regexp

Inputs
stringa string
optionsa string of Regular expression options


Outputs
regexpa regexp


Word description
Given a string in regular expression syntax, and a string of options, creates a regular expression object. When it is first used for matching, a DFA is compiled, and this DFA is stored for reuse so it is only compiled once.

Definition