#298 - enabled case-insensitivity

This commit is contained in:
Simon Cambier
2023-11-01 11:18:43 +01:00
parent 4735d1dac3
commit 21df489a0b
2 changed files with 2 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ export function stringsToRegex(strings: string[]): RegExp {
')' +
`(${strings.map(s => escapeRegExp(s)).join('|')})`
return new RegExp(`${joined}`, 'gu')
return new RegExp(`${joined}`, 'gui')
}
export function getMatches(