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
In Section
Seekers of Perl Wisdom
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