Skip Menu |

This queue is for tickets about the Regexp-Common CPAN distribution.

Report information
The Basics
Id: 55545
Status: open
Priority: 0/
Queue: Regexp-Common

People
Owner: Nobody in particular
Requestors: scop [...] cpan.org
Cc: tomaz.solc [...] tablix.org
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 2010010201
Fixed in: (no value)



Subject: URI regex does not include fragments
The URI regex does not seem to match fragments. For example, for "http://www.example.com/foo.html#bar", the match is only for "http://www.example.com/foo.html". Tested with HTTP URIs only, maybe the issue exists with other ones as well.
From: Mike B.
On Sun Mar 14 05:07:24 2010, SCOP wrote: Show quoted text
> The URI regex does not seem to match fragments. For example, for > "http://www.example.com/foo.html#bar", the match is only for > "http://www.example.com/foo.html". Tested with HTTP URIs only, maybe the > issue exists with other ones as well.
I guess these are more usually called "anchors". This is a duplicate of https://rt.cpan.org/Public/Bug/Display.html?id=2907 -- Mike
On Wed Jun 02 11:07:30 2010, https://launchpad.net/~michiel-beijen wrote: Show quoted text
> I guess these are more usually called "anchors".
Anchors are the things they point to. The official term for this URI component is "fragment" or "fragment identifier". http://en.wikipedia.org/wiki/Fragment_identifier http://tools.ietf.org/html/rfc3986#section-3.5
From: jean [...] veronis.fr
Le Dim 14 Mar 2010 05:07:24, SCOP a écrit : Show quoted text
> The URI regex does not seem to match fragments. For example, for > "http://www.example.com/foo.html#bar", the match is only for > "http://www.example.com/foo.html". Tested with HTTP URIs only, maybe the > issue exists with other ones as well.
Just wondering: do you have any plans in updating this and the RFC3986 issue as well)? Thanks!