Hi,
I want to evaluate a string s1 which might have either of two strings s2 or s3 or both using Regular expressions as shown
s1 = "important";
s2 = "ant";
s3 = "port"
result = uvm_pkg::uvm_re_match("*(ant|port)*",s1);
In the above code, Iam getting runtime errors.
reporter [UVM/DPI/REGEX_INV] uvm_re_match : invalid glob or regular expression:
|Invalid preceding regular expression|
Please help me out with proper code.
Thanks
AJ