@Contract("_ -> this")
    default @NotNull Builder match(final @NotNull @RegExp String pattern) {
      return this.match(Pattern.compile(pattern));
    }
Compile the provided input as a {@link Pattern} and set it as the match to test against.

@param pattern the regex pattern to match
@return this builder
@since 4.2.0
api/src/main/java/net/kyori/adventure/text/TextReplacementConfig.java