@Override
	public boolean matches(String text, Pattern pattern) {
		return pattern.matcher(text).matches();
	}
A text filter that uses a pattern and performs a 'matches' using that pattern.
Ghidra/Framework/Docking/src/main/java/docking/widgets/filter/MatchesPatternTextFilter.java