@Nonnull
		static Match match(int start, int end, @Nonnull Matcher matcher) {
			return new Match(new IntRange(start, end), matcher.groups());
		}
@param range
		Range of the match.
@param groups
		Regex groups of the match, if the match is done with
       {@link AbstractSearchBar#regexProperty()} enabled.
recaf-ui/src/main/java/software/coley/recaf/ui/control/richtext/search/SearchBar.java