match_path

来自「C实现的MUD,对大家基本入门网络游戏很有帮助!」· 代码 · 共 23 行

TXT
23
字号
     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)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?