roslyn icon indicating copy to clipboard operation
roslyn copied to clipboard

In the regex prompt, there's a small typo: the carriage return escape sequence should be \r, not \rr.

Open vsfeedback opened this issue 1 month ago • 2 comments

This issue has been moved from a ticket on Developer Community.


image.png

correct should be: \r


Original Comments

Feedback Bot on 11/7/2025, 10:20 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Joanna Zheng [MSFT] on 11/10/2025, 02:03 PM:

Thanks for your feedback. To address your issue correctly, could you please give me a capture or provide us with a repro video (using [ScreenToGif] (https://www.screentogif.com or other tools) of this issue to help us investigate this further?

Looking forward to your reply, thanks!

Yang Xiang on 11/11/2025, 11:24 AM:

This issue appears in the IntelliSense tooltip for the regular expression string when creating a Regex instance. I’m using a Chinese-language environment.

正则错误.png

Yang Xiang on 11/11/2025, 01:48 PM:

I just disabled all VS extensions, but the problem persists. When I type “\s”, I can still see this incorrect tooltip.

Yang Xiang on 11/11/2025, 02:21 PM:

The issue occurs with the tooltip for \s, not \r. The hint for \s incorrectly writes \r as \rr.

Yang Xiang on 11/17/2025, 05:12 PM:

The bug still exists in VS 2026. I recorded a video that reproduces it effortlessly; the footage ends with all extensions disabled.

202511171932.mp4

Joanna Zheng [MSFT] on 11/11/2025, 00:44 PM:

Do you have any 3rd party extension installed? This works for me on VS Insiders [11201.2], but the appearance looks different than yours.
image.png

Yang Xiang on 11/24/2025, 00:58 PM:

Have you found this issue? Do you need any more information?

Feedback Bot on 11/28/2025, 10:58 AM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

vsfeedback avatar Dec 05 '25 14:12 vsfeedback

This repro under Simplified Chinese language, but not repro under ENU, Japanese, Korean and Traditional Chinese. This repro in 17.14.21, 18.0.2.

Repro Steps: 1.Change VS language to Simplified Chinese language 2.Create a C# console solution, add regex: var regex = new Regex (@"\s") 3.View the prompt after typing "\s"

Actual: There's a small typo: the prompt return should be "\r", not "\rr"

Image

Expected: This should be "\r".

deepakrathore33 avatar Dec 05 '25 14:12 deepakrathore33

I opened https://ceapex.visualstudio.com/CEINTL/_workitems/edit/1116514 for this issue.

JoeRobich avatar Dec 05 '25 16:12 JoeRobich