```js title('Package JSON') // => 'package.json' ``` Using a library such as [`escape-string-regexp`](https://www.npmjs.com/package/escape-string-regexp) should fix the issue.
Using a library such as
escape-string-regexpshould fix the issue.