You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In the inclusive-dates_3.entry.js, it has this code's part:
exports.extractTerms = extractTerms;
function matchAnyPattern(dictionary) {
const joinedTerms = extractTerms(dictionary)
.sort((a, b) => b.length - a.length)
.join("|")
.replace(/./g, "\.");
The code scanning said "This does not escape backslash characters in the input."
The text was updated successfully, but these errors were encountered:
Describe the bug
In the inclusive-dates_3.entry.js, it has this code's part:
exports.extractTerms = extractTerms;
function matchAnyPattern(dictionary) {
const joinedTerms = extractTerms(dictionary)
.sort((a, b) => b.length - a.length)
.join("|")
.replace(/./g, "\.");
The code scanning said "This does not escape backslash characters in the input."
The text was updated successfully, but these errors were encountered: