Use of regular expression for string comparison

In reply to MayurKubavat:

Another undocumented feature is when you use +UVM_NO_DPI, umm_re_match uses Glob style matching instead of RE.

BTW, most tools have extended SystemVerilog with a built-in string.match() method. Check your tool’s user manual.