question: private static boolean verifyStringParam ( String str , int maxLength , String acceptableCharacters ) { return ! ( str == null || str . length ( ) == 0 || str . length ( ) > maxLength || ! Pattern . matches ( acceptableCharacters , str ) ) ; }
target:  Returns true if the specified String is non-null, greater then 0 in length, less than the specified length and matches the regex provided.