public static boolean isValidName(String name) {
		return validNamePattern.matcher(name).matches();
	}
Adds a new catalog ref to the nearest catalog file

@param name The name of the new alias
src/main/java/dev/jbang/catalog/CatalogUtil.java