James Moger
2012-10-22 e5aaa5db9b323f58d9eb8338532fd04fce885048
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();
   }
}