moonsharp
moonsharp copied to clipboard
Unicode-based string pattern matching breaks compatibility
Since KopiLua - and by extension, MoonSharp - uses .NET's Char class and Char.IsPunctuation to perform Lua's %p pattern match, the results differ from what it expects and it breaks a bunch of old scripts, most notably MetaLua (it expects = to be punctuation by Microsoft does not agree).