@NonNull
        public T parse() throws ParseException {
            final T result = parseNext();
            moveToNextToken();
            if (config.length() != idx) {
                throwParseException("Unexpected leftover in expression");
            }
            return result;
        }
Escapes all characters with a backslash (\) which could have a special meaning in context of expressions.
Those are: ()=:[]; and the backslash \ itself

@param raw string to escape
@return escaped string
main/src/main/java/cgeo/geocaching/utils/config/LegacyFilterConfigParser.java