The enum.
If true, the regex pattern will match ONLY the keys with no preceding or postceding characters. Otherwise, the regex will match keys that are found within any part of a string.
Optional
flags: stringFlags of the regular expression.
Generated using TypeDoc
Builds a regular expression matching the keys of an enum.
Regex special characters are not scaped from the enum names.