@Nonnull
	private synchronized static ThreadLocalPattern getPattern(@Nonnull String regex) {
		return PATTERNS.computeIfAbsent(regex, RegexUtil::generate);
	}
Creates new {@link ThreadLocalPattern} or gets it from cache.

@param regex
		Regular expression text.

@return Compiled {@link ThreadLocalPattern} of the regular expression.
recaf-core/src/main/java/software/coley/recaf/util/RegexUtil.java