Fun_People Archive
13 Dec
Well, *duh*!
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
From: Peter Langston <psl>
Date: Fri, 13 Dec 96 03:30:02 -0800
To: Fun_People
Subject: Well, *duh*!
Forwarded-by: Keith Bostic <bostic@bsdi.com>
Forwarded-by: John Kunze <jak@ckm.ucsf.edu>
Subject: minor fix for url-syntax-02
Forwarded-by: "Roy T. Fielding" <fielding@liege.ICS.UCI.EDU>
This is from Gisle Aas <aas@bergen.sn.no>. The regular expression
in Appendix B can be slightly simplified from
^(([^/?#]+):)?(//([^/?#]*))?([^?#]*)?(\?([^#]*))?(#(.*))?
^
redundant
to
^(([^/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?
[How stupid do they think we are, anyway? -psl]
© 1996 Peter Langston