<illegal-regexp>
Signaled when a function receives an illegal regular expression.
Exported from
Module regular-expressions
Modifiers
concrete free sealed
Make keywords
regexp:
An instance of
<string>
. The regexp that caused the error.
Superclasses
<error>
Parsing a regexp is not cheap, so we cache the parsed regexps and only parse a string if we haven’t seen it before.
The class of sequences with elements that are characters.
The class of conditions that represent something invalid about the program.