You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had no idea the regex for strings was allowing that formation. It looks like it was lifted directly from some other language's string definition, especially with the option for a preceding "@" like C# uses. (That part of the system pre-dates me and I don't think I ever had a call to edit the regex for strings since then, so I never scrutinized that regex that closely.)
The syntax allows using quotes in a string by prepending it by another quote: https://github.com/KSP-KOS/KOS/blob/develop/src/kOS.Safe/Compilation/KS/kRISC.tpg#L91
This works during parsing but when you try to print the following string:
"foo""bar"
it will showfoo""bar
instead offoo"bar
.Is this expected behavior?
The text was updated successfully, but these errors were encountered: