PatternMatcher.matches

Returns <code>true</code> if the given <code>source</code> matches the specified <code>pattern</code>, <code>false</code> otherwise.

@param pattern the pattern to match against @param source the source to match @return <code>true</code> if the given <code>source</code> matches the specified <code>pattern</code>, <code>false</code> otherwise.

interface PatternMatcher
bool
matches
(
string pattern
,
string source
)

Meta