What does "contain" and "matches" indicates in the regular expression in JMeter ?

In the regular expression, contains indicates that the regular expression matched at least some part of the target. While matches mean the regular expression matched the whole target. So, 'alphabet' is "matched" by 'al.*t.'