protected StringPropertyMatcher(String propertyName,Mode mode,Boolean ignoreCase,String expectedPattern,Function<Issue,String> getActualValue){
  super(propertyName);
  this.mode=mode;
  this.ignoreCase=Objects.requireNonNull(ignoreCase);
  this.expectedPattern=safeGetValue(expectedPattern);
  this.getActualValue=Objects.requireNonNull(getActualValue);
}

protected StringPropertyMatcher ( String propertyName , Mode mode , Boolean ignoreCase , String expectedPattern , Function < Issue , String > getActualValue ) { super ( propertyName ) ; this . mode = mode ; this . ignoreCase = Objects . requireNonNull ( ignoreCase ) ; this . expectedPattern = safeGetValue ( expectedPattern ) ; this . getActualValue = Objects . requireNonNull ( getActualValue ) ; }
creates a new string property matcher .
