private String match(String line, Pattern pattern) {
		Matcher matcher = pattern.matcher(line);
		return matcher.find() ? matcher.group(1) : null;
	}
Gets a matched pattern on the given line

@param line The line to match against
@param pattern The {@link Pattern} to match
@return The matched string, or null if there was no match
Ghidra/Features/SwiftDemangler/src/main/java/ghidra/app/util/demangler/swift/SwiftDemangledTree.java