- From: Dave Kristol <dmk@allegra.att.com>
- Date: Fri, 23 Feb 96 15:29:38 EST
- To: hallam@w3.org
- Cc: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
> [...] > Level 0 Specification - Prefix Matching. > > The most common need for template matching is to specify a prefix. > > In the level 0 specification a wildcard is only valid at the end of the > pattern. Implementations need only match on a prefix therefore. The > following are valid level 0 patterns: > > http://www.w3.org/pub/%* > http://www.w3.org/p%* > http://www.w3.org/pub/ I have found it useful to have a pattern, call it %?, that matched '/*' or the empty string, as in http://www.w3.org/pub%? that matches http://www.w3.org/pub http://www.w3.org/pub/ http://www.w3.org/pub/WWW/ but not http://www.w3.org/public Dave Kristol
Received on Friday, 23 February 1996 12:41:34 UTC