Stored .NET Regular Expression Characters

Where is the .NET Regular Expression Reserved Character Set?

Edit: It looks like it's possible. Thanks, suharman. http://msdn.microsoft.com/en-us/library/az24scfc.aspx

+3
source share
3 answers

This link refers to the exact page that answers the question. (The answer comes from sugarman. If sugarman wants to post the answer, it will be selected.)

escapes characters supported by regular expressions in the .NET Framework

From this link, there is an entry in the table that says the .NET regular expression characters match themselves, with the exception of the following:

. $ ^ {[(|) * +? \

Therefore, these are .NET reserved regular expression characters.

+1

Regex.Escape(). , , . , OP, , .

+3

This is probably a good starting point for what you are looking for:

. .NET Framework Regular Expressions

+1
source

Source: https://habr.com/ru/post/1793195/


All Articles