From ab9dfb732d4590256df98753a201019ae04e0af9 Mon Sep 17 00:00:00 2001 From: ronknight Date: Thu, 21 Nov 2024 12:36:53 -0800 Subject: [PATCH] Fix code scanning alert no. 13: Useless regular-expression character escape Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.js b/assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.js index 714d852..c4c635e 100644 --- a/assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.js +++ b/assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.js @@ -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,})"); }