ArgumentException while creating regular expressions

I have strange behavior creating the following regex:

new System.Text.RegularExpressions.Regex( "^\\)$" );

      

Sometimes I get an ArgumentException, but this happens very rarely and I cannot explain why. The app runs on .net 4.0 with target x86. Can you help me?

+3


source to share





All Articles