Skip to content

Commit 6499e54

Browse files
committed
JS: Restore line lost in merge
'Accept incoming changes' in vscode somehow deleted this line.
1 parent e8c5e4d commit 6499e54

File tree

1 file changed

+1
-0
lines changed
  • javascript/ql/test/query-tests/RegExp/DuplicateCharacterInCharacterClass

1 file changed

+1
-0
lines changed

javascript/ql/test/query-tests/RegExp/DuplicateCharacterInCharacterClass/tst.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
/[\x0a\x0a]/; // $ Alert
1010
/[\u000a\n]/; // $ Alert
1111
/[\u{ff}]/;
12+
/[\u{12340}-\u{12345}]/u;
1213
new RegExp("[\u{12340}-\u{12345}]", "u");
1314
const regex = /\b(?:https?:\/\/|mailto:|www\.)(?:[\S--[\p{P}<>]]|\/|[\S--[\[\]]]+[\S--[\p{P}<>]])+|\b[\S--[@\p{Ps}\p{Pe}<>]]+@([\S--[\p{P}<>]]+(?:\.[\S--[\p{P}<>]]+)+)/gmv;

0 commit comments

Comments
 (0)