Closed jairbubbles closed 2 days ago
Can you provide a failing test case? If I try both the old and new regex with the text you provided (at regex101) the results look identical to me - ie the existing regex works as-is. Am I missing something?
Hi @joshgoebel, yeah you're right there's something fishy with my fix.
On the demo, we can see there's an issue, maybe it's not using the latest code?
Fix highlighting with nested double quotes. See https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/raw-string
I tweaked a bit the Regex and it seems to better handle the previous examples: https://regex101.com/r/16Vn7X/1