for (int i=0; i<value.length(); i++) { char ch = value.charAt(i);
Matcher matcher = _pattern.matcher(value); if(matcher.matches() && matcher.groupCount()>=1) { value = matcher.group(1); } else { System.err.println("value '" + value + "' did not match the pattern!"); return true; } int length = value.length(); for (int i=0; i<length; i++) { char ch = value.charAt(length-i-1);
    private boolean updateCharset(String value) {        boolean updated = false;        // this establishes the character set per position        // results in a two dimensional array indicating         // the frequency of each character at each position        for (int i=0; i<value.length(); i++) {            char ch = value.charAt(i);            if (_charset[i][ch] == 0) {                updated = true;            }            _charset[i][ch]++;        }        return updated;    }