<HEAD> <TITLE> match_path - search a mapping for a path </TITLE> </HEAD> <BODY BACKGROUND=http://www.imaginary.com/~beek/gifs/bg.jpg TEXT=#000000 ALINK=#FFFF00 VLINK=#550000 LINK=#000099> <center> <H1> match_path - search a mapping for a path </H1> </center> <p> <b> mixed match_path( mapping m, string str ); </b> <p> 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. <p> <HR> <ADDRESS> <A HREF=http://wagner.princeton.edu/~tim> Tim Hollebeek </A> <p> <A HREF="http://www.imaginary.com/~beek/"> Beek </A>@ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere </ADDRESS>