Thanks @pmclanahan \[^^]/ [It should work](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#special-negated-character-set). Updated the PR.