private void CreateRegEx()
        {
            var urlHelper = new UrlHelper();

            if (IgnoreCase)
                _regex = new Regex(urlHelper.HandleRootOperator(_virtualUrl), RegexOptions.IgnoreCase | RegexOptions.Compiled | _regexOptions);
            else
                _regex = new Regex(urlHelper.HandleRootOperator(_virtualUrl), RegexOptions.Compiled | _regexOptions);
        }
 private void CreateRegEx()
 {
     UrlHelper urlHelper = new UrlHelper();
     if (IgnoreCase)
     {
         this.regex = new Regex(urlHelper.HandleRootOperator(virtualUrl), RegexOptions.IgnoreCase | RegexOptions.Compiled | regexOptions);
     }
     else
     {
         this.regex = new Regex(urlHelper.HandleRootOperator(virtualUrl), RegexOptions.Compiled | regexOptions);
     }
 }
 public UrlRewriteModule()
 {
     _urlHelper = new UrlHelper();
 }