Tuesday, 24 May 2016

c# - I can not put single double quotes ' " ' in a string for regex pattern

I am trying to build regex pattern but the string doesn't take single double quotes.



this is the pattern and it crashes when I add \"



@"(?<\"|\'|\“)(?'first'{0}\s(?'middle'{0}{1}{2}"

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...