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);
tesract
0

Comments

3 comments

  • JasonC
    Thank you for your post. Unfortunately, I can't repoduce it either. I suspect your problem had something to do with how we instrument the compiled code.

    Microsoft changed the behaviour of compiled Regexs between .NET 1.1 and 2.0. Which version are you using?
    JasonC
    0
  • tesract
    .net 2.0
    tesract
    0
  • JasonC
    I've tried to repoduce the problem without success I'm afraid. If you can make a small app that demonstrates this crash I'm sure we'd happily give you some goodies.
    JasonC
    0

Add comment

Please sign in to leave a comment.