Unnecessary backslash in `other_firefox` expression
razzed opened this issue ยท 1 comments
razzed commented
ESLint generates an error for the other_firefox
RegExp pattern:
Error 19,24: Unnecessary escape character: \M. (no-useless-escape)
The fix is to remove the unnecessary backslash in front of the M here.
- other_firefox = /\Mobile(?:.+)Firefox\b/i; // Match 'Mobile' AND 'Firefox'
+ other_firefox = /Mobile(?:.+)Firefox\b/i; // Match 'Mobile' AND 'Firefox'
I've created a PR to fix this issue.
kaimallea commented
๐ This issue has been resolved in version 1.0.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐