Class Regex

All Implemented Interfaces:
IHeaderMatcher.Builder

@Deprecated public class Regex extends RegexBuilder
Deprecated.
use Configuration file to define licenses
  • Constructor Details

    • Regex

      public Regex()
      Deprecated.
  • Method Details

    • setExpression

      @Named("expr") public RegexBuilder setExpression(String expression)
      Deprecated.
      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:
      setExpression in class RegexBuilder
      Parameters:
      expression - the expression as a string.
      Returns:
      this builder for chaining.
      See Also:
    • set

      public void set(String exp)
      Deprecated.