Closed geno333 closed 3 months ago
I see that the recorded error text was changed from what I typed in. Under the Steps To Reproduce the string that give conflicting error messages is
Quote xyz Backslash-Quote
" xyz \ " (without the spaces)
Hi @geno333
Please see #1859 #1968 #2017 #2063 #2085 (I'm sure there's more but that's all I could find for now). Hope this helps!
Feel free to comment and I'll reopen it if I misunderstood you. Have a great one!
Thanks Alan!
From: Alan @.> Sent: Wednesday, March 27, 2024 2:23 PM To: firasdib/Regex101 @.> Cc: Geno333 @.>; Mention @.> Subject: Re: [firasdib/Regex101] Pattern containing Quote characters inconsistent error message (Issue #2247)
Hi @geno333 https://github.com/geno333
Please see #1859 https://github.com/firasdib/Regex101/issues/1859 #1968 https://github.com/firasdib/Regex101/issues/1968 #2017 https://github.com/firasdib/Regex101/issues/2017 #2063 https://github.com/firasdib/Regex101/issues/2063 #2085 https://github.com/firasdib/Regex101/issues/2085 (I'm sure there's more but that's all I could find for now). Hope this helps!
Feel free to comment and I'll reopen it if I misunderstood you. Have a great one!
— Reply to this email directly, view it on GitHub https://github.com/firasdib/Regex101/issues/2247#issuecomment-2024014772 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3SV4T5H2OGFFSL6RWZMJDY2M2FBAVCNFSM6AAAAABFLUK3MCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUGAYTINZXGI . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AD3SV4WZ4KFE2GGXRP3UQDTY2M2FBA5CNFSM6AAAAABFLUK3MCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTYUQB3I.gif Message ID: @. @.> >
Bug Description
When selecting the C# regex type, the error messages conflict each other when entering Quote Characters in the pattern
Reproduction steps
Type this into the regular expression pattern
"xyz\"
Expected Outcome
either just the Quote Character, or the Escaped Quote Character should be the correct format. But here are the two error messages, that conflict with each other.
" An unescaped delimiter must be escaped; in most languages with a backslash () \" This token has no special meaning and has thus been rendered erroneous
Browser
Brave Browser (latest version)
OS
Windows 11