Pattern Strings

The pattern strings used with the getCatalogedPathnames(…) methods filter the list of returned pathnames in a user-specified manner.  Pattern strings can be specified in two modes: pathname mode and pathname part mode.  Both modes make use of pathname part filters:

In pathname mode, filters must be supplied for all pathname parts.  In pathame part mode, only those parts that will not match everything must be specified.

 

Filters are comprised of the following components:

 

Using getCatalogedPathnames(…) with a pattern string utilizes the pathname matching in the underlying DSS library.  To accomplish more sophisticated pathname filtering, use one of the getCatalogedPathnames(…) methods in conjunction with python text parsing and matching utilities.