LuaScript: use invariant regex on parameter parsing (fixes #2350) by NickCraver · Pull Request #2351 · StackExchange/StackExchange.Redis (original) (raw)

This changes the regex to use RegexOptions.CultureInvariant and adds an easy way to do tests like this in the future with [Fact, TestCulture("tr-TR")] for example, which will set and restore the culture for a specific test.

Before/after break/fix test included for the Turkish case.