Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » asp.net » crash » hang
  • Regex causes server and browser to hang in infinite loop

    I am building an application in ASP.NET. I use a RegularExpressionValidator in a GridView to validate the length of the contents of a multiline TextBox. As I need to detect new lines as well I cannot use the simple ^.{1,1000}$ but I have to use this: ^(.|\s){1,1000}$ Then very strange things can happen depending on what is the text ...
    Posted to Platform Differences (Forum) by emarcell on December 12, 2007
  • Regex causes server and browser to hang in infinite loop

    I am building an application in ASP.NET. I use a RegularExpressionValidator in a GridView to validate the length of the contents of a multiline TextBox. As I need to detect new lines as well I cannot use the simple ^.{1,1000}$ but I have to use this: ^(.|\s){1,1000}$ Then very strange things can happen depending on what is the text ...
    Posted to Platform Differences (Forum) by emarcell on December 12, 2007