Skip Menu |

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

Report information
The Basics
Id: 20713
Status: rejected
Priority: 0/
Queue: Regexp-Common

People
Owner: Nobody in particular
Requestors: lars_wilke [...] web.de
Cc:
AdminCc:

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



Subject: net domain issues
Date: Thu, 27 Jul 2006 12:54:41 +0200
To: bug-Regexp-Common [...] rt.cpan.org
From: Lars Wilke <lars_wilke [...] web.de>
Hi, when using perl 5.8.5 on x86 Linux and Regexp::Common 2.120 and using $t =~ /\A$RE{'net'}{'domain'}{'-keep'}/ where $t='bla_bla.bladom.blatop' the regexp will match and truncate the result right before the '_' i.e. the resulting $1 is 'bla'. Another quirk is that URIs longer than 63 chars match also and the result is truncated after the 63 char. regards --lars
RFC 1035 forbids the use of an underscore in a domain name. It also limits domain names to 63 characters. Which explains the results you are seeing.