private int indexOfNextNameChar(int index) {
		for (int lookahead = index; lookahead < chars.length; lookahead++) {
			char c = chars[lookahead];
	
			if (Character.isLetterOrDigit(c)) {
				return lookahead;
			}
	
			switch (c) {
				case '.':
					return lookahead;
				case '-':
					return lookahead;
				case '_':
					return lookahead;
				case ':':
					return lookahead;
			}
		}
		return -1;
	}