@Override
	public Collection<AssemblyParseToken> match(String buffer, int pos, AssemblyGrammar grammar,
			AssemblyNumericSymbols symbols) {
		if (buffer.regionMatches(pos, str, 0, str.length())) {
			return Collections.singleton(new AssemblyParseToken(grammar, this, str));
		}
		return Collections.emptySet();
	}
Construct a terminal that accepts only the given string

@param str the string to accept
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/symbol/AssemblyStringTerminal.java