Skip to content

Commit 852f05b

Browse files
committed
Address comment
1 parent cf4b834 commit 852f05b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

javascript/ql/lib/semmle/javascript/Regexp.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,12 @@ module RegExpPatterns {
10091009
// according to ranking by http://google.com/search?q=site:.<<TLD>>
10101010
result = "(?:com|org|edu|gov|uk|net|io)(?![a-z0-9])"
10111011
}
1012+
1013+
/**
1014+
* Gets a pattern that matches common top-level domain names in lower case.
1015+
* DEPRECATED: use `getACommonTld` instead
1016+
*/
1017+
deprecated predicate commonTLD = getACommonTld/0;
10121018
}
10131019

10141020
/**

0 commit comments

Comments
 (0)