RegexOptions.Compiled
tesract
Posts: 7
In my latest app removing the RegexOptions.Compiled from my regular expression seems to avoid the 99% and having my app never start problem.
I tried to make a small app to demonstrate the behavior but it doesn't seem to want to reproduce it self in small app form.
I changed:
regex = new Regex(regstr,RegexOptions.Compiled);
to:
regex = new Regex(regstr);
I tried to make a small app to demonstrate the behavior but it doesn't seem to want to reproduce it self in small app form.
I changed:
regex = new Regex(regstr,RegexOptions.Compiled);
to:
regex = new Regex(regstr);
Comments
Microsoft changed the behaviour of compiled Regexs between .NET 1.1 and 2.0. Which version are you using?
Red Gate Software
Red Gate Software