public interface IObjectStringNotMatchingCheck extends ICheck
Modifier and Type | Method and Description |
---|---|
boolean |
isStringNotMatching(Object caller,
String referenceA,
String regex)
Checks if A does NOT match the regular expression.
|
boolean isStringNotMatching(Object caller, String referenceA, String regex)
If A is null it can't be matched.
If regex is null A can't be matched
Empty A is matched by empty regex.
caller
- end-user instance initiating the checkreferenceA
- reference to check for match regexregex
- the regular expression A is to be matched againstIllegalArgumentException
- if caller is nullThe MIT License (MIT) - Copyright © 2014-2015 Keld Oelykke. All Rights Reserved.