disarm-dev / douma-app

DiSARM app (2018 and beyond)
MIT License
3 stars 1 forks source link

hotfix/451-Invalid-regular-expression #467

Closed mosaic141688 closed 5 years ago

mosaic141688 commented 5 years ago

The application was crashing when you type in a \ because the \ was treated as an escape character. This pull request solves it by escaping string from input to be used in a regex using lodash escapeRegExp function