When `autoEscape` is set to true and (at least) one of the elements in `searchWords` array is regex, the following exception is raised: ``` TypeError str.replace is not a function ``` Example: https://codesandbox.io/s/20p3zk380n
When
autoEscapeis set to true and (at least) one of the elements insearchWordsarray is regex, the following exception is raised:Example: https://codesandbox.io/s/20p3zk380n