Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Complicated regexp problem

by johngg (Canon)
on Aug 02, 2017 at 22:22 UTC ( #1196595=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1196595]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2023-02-07 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (40 votes). Check out past polls.

    Notices?