Skip to content

Commit

Permalink
Merge pull request #56 from ronknight/alert-autofix-13
Browse files Browse the repository at this point in the history
Fix code scanning alert no. 13: Useless regular-expression character escape
  • Loading branch information
ronknight authored Nov 25, 2024
2 parents 5c8a022 + ab9dfb7 commit 160b5aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4205,7 +4205,7 @@ wysihtml5.browser = (function() {
re;

if (navigator.appName == 'Microsoft Internet Explorer') {
re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
re = new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");
} else if (navigator.appName == 'Netscape') {
re = new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})");
}
Expand Down

0 comments on commit 160b5aa

Please sign in to comment.