Working of ' matches ' Operator

In reply to Have_A_Doubt:

I’ve rarely seen anyone use “matches”, but someone must of thought of a good reason for it. Most of the questions asked about it go unanswered.

You might want to see: SystemVerilog Covergroups | Verification Academy