Re: URI Pattern Syntax

> 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 UTC