No need to escape the slashes as you are not using them as delimiters.
my $regexp = qr{(?:ftp://)?/{5}(a-z_)/};
Cheers,
JohnGG
In reply to Re^2: Complicated regexp problem
by johngg
in thread Complicated regexp problem
by stefanches7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |