Use of regular expression for string comparison

In reply to dave_59:

When using +define+UVM_NO_DPI compile option with uvm-1.2 source code. Above code still does not work.

I see there’s a Verilog version for uvm_re_match(string re, string str) function. I’ll try debug this later…