src/main/java/com/basistech/tclre/ColorMap.java
private short getcolor(int c) {
        try {
            return map.get(c);
        } catch (NullPointerException npe) {
            throw new RegexRuntimeException(String.format("Failed to map codepoint U+%08X.", c));
        }
    }
private short getcolor(int c) {
        try {
            return map.get(c);
        } catch (NullPointerException npe) {
            throw new RegexRuntimeException(String.format("Failed to map codepoint U+%08X.", c));
        }
    }
private short getcolor ( int c ) { try { return map . get ( c ) ; } catch ( NullPointerException npe ) { throw new RegexRuntimeException ( String . format ( "Failed to map codepoint U+%08X." , c ) ) ; } }
Retrieve the color for a character.
@param c input char.
@return output color.
Retrieve the color for a character .