Harry Putnam wrote:
The regex (\"uri\".*?) Doesn't match at all so I would expect the $2 to return ''. But instead it appears to return the whole line.
No, the regex doesn't match anything so there is no substitution. $line is unmodified.
-- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. Regardless of how small the crowd is, there is always one in it who has to find out the hard way that the laws of physics apply to them too. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/