Code example for Pattern

Methods: matcherpattern

0
                        synLog.traceOrDebug("Source String : " + expression + " evaluates to null");
                    } 
                    return false; 
                } 
 
                Matcher matcher = match.matcher(sourceString);
 
                if (matcher == null) {
                    if (synLog.isTraceTraceEnabled()) {
                        synLog.traceOrDebug("Regex pattern matcher for : " + match.pattern() +
                                "against source : " + sourceString + " is null");
                    } 
                    return false; 
                } 
 
                // matchese the string value of the xpath over the message and 
                // evalutaes with the specifeid regEx 
                return matcher.matches();
            } 
 
Connect your IDE to all the code out there  Get Codota for Java