@Nonnull
	public synchronized static Pattern pattern(@Nonnull String regex) {
		return getPattern(regex).pattern;
	}
Creates new {@link Pattern} or gets it from cache.

@param regex
		Regular expression text.

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