protected void match(final char ch) {
		if (ch == c) {
			consume();
		} else {
			throw new ParsingException(format(
				"Got invalid character '%s' at position '%d'; expected '%s'",
				c, pos, ch
			));
		}
	}
Create a new tokenizer from the given character sequence.

@param input the input character sequence
@throws NullPointerException if the given {@code input} is {@code null}
jenetics.ext/src/main/java/io/jenetics/ext/internal/parser/CharSequenceTokenizer.java