ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/doc/efuns/match_path
mmmmaaaattttcccchhhh____ppppaaaatttthhhh((((3333)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) mmmmaaaattttcccchhhh____ppppaaaatttthhhh((((3333))))
NNNNAAAAMMMMEEEE
match_path() - search a mapping for a path
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
mixed match_path( mapping m, string str );
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
match_path() searches a mapping for a path. Each key is
assumed to be a string. The value is completely arbitrary.
The efun finds the largest matching path in the mapping.
Keys ended in '/' are assumed to match paths with character
that follow the '/', i.e. / is a wildcard for anything below
this directory.
AAAAUUUUTTTTHHHHOOOORRRR
Cygnus
Page 1 (printed 3/16/95)