anchor.diff:      pattern = "/[controller]/[action]/[key].[format]";
       regex = mapper.patternToRegex(pattern);
       assert('regex eq "^([^\/]+)\/([^\.\/]+)\/([^\.\/]+)\.(\w+)\/?$"');
  +    assert('validateRegexPattern(regex)');
     }
   
     // stripRouteVariables
  
positive.code:     pattern = "/.[format]";
      regex = mapper.patternToRegex(pattern);
      assert('regex eq "^\.(\w+)\/?$"');
    }
  
    function test_patternToRegex_with_basic_catch_all_pattern() {
  
negative.code:     };
      _params = {controller="test", action="index"};
      _originalRoutes = application[$appKey()].routes;
    }
  
    public boolean function validateRegexPattern(required string pattern) {
      try {
        local.jPattern = createObject("java", "java.util.regex.Pattern").compile(arguments.pattern);
      } catch (any e) {
        return false;
      }
  
      return true;
    }
  
    // normalizePattern
  