Checks if this expression matches the specified pattern.
Checks if this expression matches the specified pattern using the specified match mode.