How can I view regular expressions from right to left when stored in a string variable in Visual Studio?
as in the image ( second line )
pattern = "\b(ألف|باء)?(تاء|ثاء)"
output(Regex.Replace(match.Value, "\b(ألف|باء)?(تاء|ثاء)", "$1"))

How can I view regular expressions from right to left when stored in a string variable in Visual Studio?
as in the image ( second line )
pattern = "\b(ألف|باء)?(تاء|ثاء)"
output(Regex.Replace(match.Value, "\b(ألف|باء)?(تاء|ثاء)", "$1"))

Hi @yusuf2 ,
How can I view regular expressions from right to left when stored in a string variable in Visual Studio
Take a look at 'RegexOptions.RightToLeft' in Regular Expression Options.
Hi @yusuf2 ,
Do you still meet this issue? I am looking forward to seeing your message.
According to https://devblogs.microsoft.com/dotnet/visual-studio-2019-net-productivity/#regex-language-support and other sources, try adding a special comment:
' language=regex
pattern = "\b(ألف|باء)?(تاء|ثاء)"
5 people are following this question.