Class Regex

All Implemented Interfaces:
IHeaderMatcher.Builder

public class Regex extends RegexBuilder
  • Constructor Details

    • Regex

      public Regex()
  • Method Details

    • setExpr

      @Named("expr") public RegexBuilder setExpr(String exp)
      Description copied from class: RegexBuilder
      Sets the regex expression. This method compiles the string into a pattern and may throw any exception thrown by the Pattern.compile(String) method.
      Overrides:
      setExpr in class RegexBuilder
      Parameters:
      exp - the expression as a string.
      Returns:
      this builder for chaining.
      See Also:
      Pattern.compile(String)
    • set

      public void set(String exp)