Use of regular expression for string comparison

In reply to MayurKubavat:

The value returned by uvm_re_match is an error code from regexec. So 0 is in fact successful.