Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 62789

Forum Post: RE: How to search for file using regex

$
0
0
Neither of those will work, because: isFileName doesn't accept wildcards (not sure why you would think it does, since the documentation doesn't mention it The argument to system() is not in quotes system() returns the exit status of the command, not the output You could just use: pcreMatchList("^abc_rule" getDirFiles(".")) as the condition. This returns a list (i.e. non-nil) containing any file that begins with abc_rule, so you can do: unless(pcreMatchList("^abc_rule" getDirFiles(".")) fprintf(report "Runs not started\n') ) Andrew

Viewing all articles
Browse latest Browse all 62789

Trending Articles