Skip to content

Commit

Permalink
Fix code scanning alert issue #1357
Browse files Browse the repository at this point in the history
  • Loading branch information
JisanAR03 committed Oct 22, 2023
1 parent 7dc2660 commit 4cf1c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/static/js/jquery.atwho.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
_a = decodeURI("%C3%80");
_y = decodeURI("%C3%BF");
space = acceptSpaceBar ? "\ " : "";
regexp = new RegExp(flag + "([A-Za-z" + _a + "-" + _y + "0-9_" + space + "\'\.\+\-]*)$|" + flag + "([^\\x00-\\xff]*)$", 'gi');
regexp = new RegExp(flag + "([A-Za-z" + _a + "-" + _y + "0-9_" + space + '\'\.\+\-]*)$|' + flag + "([^\\x00-\\xff]*)$", 'gi');
match = regexp.exec(subtext);
if (match) {
return match[2] || match[1];
Expand Down

0 comments on commit 4cf1c6b

Please sign in to comment.