minor fix for url-syntax-02

Roy T. Fielding (fielding@liege.ICS.UCI.EDU)
Tue, 10 Dec 1996 18:15:21 -0800


To: masinter@parc.xerox.com
Cc: uri@bunyip.com
Subject: minor fix for url-syntax-02
Date: Tue, 10 Dec 1996 18:15:21 -0800
From: "Roy T. Fielding" <fielding@liege.ICS.UCI.EDU>
Message-Id:  <9612101815.aa14512@paris.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
      ^(([^/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?

....Roy