@Override
	public boolean isValidPatternString(String value) {
		if (!super.isValidPatternString(value)) {
			return false;
		}
		try {
			Pattern.compile(value);
			return true;
		}
		catch (PatternSyntaxException e) {
			return false;
		}
	}
Constructor

<P> This class is for users to enter true regular expression which is why it creates
a pattern directly without using the {@link UserSearchUtils}.

@param spec the string to use to create a "matcher" pattern.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constraint/StringMatchesColumnConstraint.java