James Moger
2012-10-22 eba89539a29deba954035056437279088c3e047b
src/com/gitblit/utils/StringUtils.java
@@ -692,4 +692,17 @@
      }
      return path;
   }
   /**
    * Variation of String.matches() which disregards case issues.
    *
    * @param regex
    * @param input
    * @return true if the pattern matches
    */
   public static boolean matchesIgnoreCase(String input, String regex) {
      Pattern p = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);
      Matcher m = p.matcher(input);
      return m.matches();
   }
}