src/jdk/nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java

Print this page

        

*** 166,176 **** private boolean lowerCaseMatch(char[] t, int tP, int tEnd, char[] chars, int p, int end) { while (tP < tEnd) { ! if (t[tP++] != Character.toLowerCase(chars[p++])) return false; } return true; } } --- 166,176 ---- private boolean lowerCaseMatch(char[] t, int tP, int tEnd, char[] chars, int p, int end) { while (tP < tEnd) { ! if (t[tP++] != EncodingHelper.toLowerCase(chars[p++])) return false; } return true; } }