public static boolean matches ( final Pattern pattern , final String value , final boolean completeMatch ) { val matcher = pattern . matcher ( value ) ; LOGGER . debug ( "Matching value [{}] against pattern [{}]" , value , pattern . pattern ( ) ) ; if ( completeMatch ) { return matcher . matches ( ) ; } return matcher . find ( ) ; }
Matches boolean .