mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Filter] Add culture invariance to regex matching
This commit is contained in:
@@ -485,7 +485,7 @@ namespace SabreTools.Helper.Dats
|
||||
}
|
||||
|
||||
// Check if a match is found with the regex
|
||||
found |= Regex.IsMatch(needle, regexStraw, RegexOptions.IgnoreCase);
|
||||
found |= Regex.IsMatch(needle, regexStraw, RegexOptions.IgnoreCase | RegexOptions.CultureInvariant);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user