http://qs321.pair.com?node_id=1196595


in reply to Re: Complicated regexp problem
in thread Complicated regexp problem

No need to escape the slashes as you are not using them as delimiters.

my $regexp = qr{(?:ftp://)?/{5}(a-z_)/};

Cheers,

JohnGG