Regular Expressions

You can use regular expressions (in the Perl regular expression format) with the object specifier. You must encapsulate the object specifiers in square brackets []; arguments must be enclosed in curly braces {}.

To use Perl regular expressions, include the -regexp option in your command. Escape Perl regular expression characters if the provided string argument contains those characters.

Using Regular Expressions

Simple wildcard:
get_pins y_r[*]~FF|D
Using Perl regular expressions:
regexp get_pins -regexp { y_r\[.*\]~FF|D }