in reply to
Regex Bug?
.*?
is a minimal match, try
$url =~ s/(.*?)\?(.*)/$1/gs;
or just
$url =~ s/\?.*//gs;
Comment on
Re: Regex Bug?
Select
or
Download
Code
In Section
Seekers of Perl Wisdom