next up previous contents
Next: Options Up: LIST Previous: LIST

Wildcards

The name-component tokens in the LIST command are the only places in the Prospero protocol where components may be specified with wildcards. There are two wildcard characters supported:

*
Match zero or more characters.
?
Match exactly one character.

One may also wildcard a name by giving a full regular expression. To do this, the regular expression should be enclosed within parentheses. For instance, specifying the name-component (Anne.*) is equivalent to specifying the wildcarded name-component Anne*.

In addition to matching the component as a wildcard, a literal match for the component will also happen. For example, the name-component (Anne.*) will always match a link whose literal name is (Anne.*). This special case guarantees that clients need not worry about quoting literal names; they may receive links they didn't request, but will never fail to receive the link they requested.



Padma Indraganti
Thu Jun 20 13:02:20 PDT 1996