[Filter] Add culture invariance to regex matching

This commit is contained in:
Matt Nadareski
2017-02-08 20:58:51 -08:00
parent 7bb64d81a5
commit 392c6eeee5

View File

@@ -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);
}
}