match_path

foundationI_fluffos_v1/lib/doc/efun/match_path · 716 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

match_path(3)         LPC Library Functions         match_path(3)

NNAAMMEE
       match_path() - search a mapping for a path

SSYYNNOOPPSSIISS
       mixed match_path( mapping m, string str );

DDEESSCCRRIIPPTTIIOONN
       match_path()  searches  a mapping for a path.  Each key is
       assumed to be a string.  The  value  is  completely  arbi-
       trary.   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.

AAUUTTHHOORR
       Cygnus

MudOS                       5 Sep 1994                          1

Site Stats

Snippets: 1791
Codebases: 571