GitHub - jonschlinkert/regex-cache: Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in dramatic speed improvements.
GitHub - monotonee/escape-regex-string: A Node.js module that escapes a string literal for use as an argument in the standard RegExp constructor.
![2. Create Regular Expression Object in JavaScript using literal Syntax & Constructor Method - RegEx - YouTube 2. Create Regular Expression Object in JavaScript using literal Syntax & Constructor Method - RegEx - YouTube](https://i.ytimg.com/vi/TPDVslpV_IY/maxresdefault.jpg)