Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf4b834 commit 852f05bCopy full SHA for 852f05b
1 file changed
javascript/ql/lib/semmle/javascript/Regexp.qll
@@ -1009,6 +1009,12 @@ module RegExpPatterns {
1009
// according to ranking by http://google.com/search?q=site:.<<TLD>>
1010
result = "(?:com|org|edu|gov|uk|net|io)(?![a-z0-9])"
1011
}
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;
1018
1019
1020
/**
0 commit comments