Server Error in '/' Application.

parsing "(?i:" - Not enough )'s. Parameter name: (?i:

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: parsing "(?i:" - Not enough )'s. Parameter name: (?i:

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentException: parsing "(?i:" - Not enough )'s.
Parameter name: (?i:]
   System.Text.RegularExpressions.RegexParser.ScanRegex() +2238
   System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op) +131
   System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options) +237
   System.Text.RegularExpressions.Regex.IsMatch(String input, String pattern) +29
   pagegen.SubFolder.ProcessRequest(HttpContext context) in c:\documents and settings\jared\my documents\visual studio projects\subfolderhandler\subfolderhandler\subfolder.cs:152
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87


Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407