User Tools


Function PATHNAME-MATCH-P

Syntax

  • pathname-match-p pathname wildcardgeneralized-boolean

Arguments and Values

Description

pathname-match-p returns true if pathname matches wildcard, otherwise nil. The matching rules are implementation-defined but should be consistent with directory. Missing components of wildcard default to :wild.

It is valid for pathname to be a wild pathname; a wildcard field in pathname only matches a wildcard field in wildcard (i.e. pathname-match-p is not commutative). It is valid for wildcard to be a non-wild pathname.

Examples

None.

Affected By

None.

Exceptional Situations

If pathname or wildcard is not a pathname, string, or stream associated with a file an error of type type-error is signaled.

See Also

Notes

None.

\issue{PATHNAME-WILD:NEW-FUNCTIONS} \issue{PATHNAME-STREAM} \issue{PATHNAME-LOGICAL:ADD} \issue{FILE-OPEN-ERROR:SIGNAL-FILE-ERROR}