In reply to VE:
In reply to dave_59:
Dave.
I have asked the same question. I am thinking it would be great if UVM can add one line of explanation on uvm_re_match(), instead of users have to look into the code or C code to figure it out. IMHO.
Yes. That would be helpful. I also tried doing comparison as below, but its misleading.
// Does not work
if(uvm_re_match(re, name))
$display("Match Detected");
// Works
if(!uvm_re_match(re, name))
$display("Match Detected");