W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > January to April 1996

Re: URI Pattern Syntax

From: Ari Luotonen <luotonen@netscape.com>
Date: Fri, 23 Feb 1996 15:18:25 -0800 (PST)
Message-Id: <199602232318.PAA05524@urchin.netscape.com>
To: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com

> Most shells these days implement [...] and [^...] for negated
> character class.  Experience seems to show that full R.E.'s are beyond
> most users.

Many of the sites I've dealt with would like to be able to match a
non-FQDN hostname which is not possible with shell expressions, even
with closures (this is an RE):

	http://[^.:/]*[^.].*

and this shell expression:

	http://*.netscape.com*

is not the same as RE:

	http://[^.:/]*\.netscape\.com*

(and the latter is typically what you want).

Cheers,
--
Ari Luotonen				ari@netscape.com
Netscape Communications Corp.		http://home.netscape.com/people/ari/
501 East Middlefield Road
Mountain View, CA 94043, USA		Netscape Server Development Team
Received on Friday, 23 February 1996 15:21:00 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:31:46 EDT