Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Reverse regexp a regexp?

by freakingwildchild (Scribe)
on Feb 13, 2010 at 23:09 UTC ( #823069=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @urls = qw(
      http://www.youtube.com/user/jantje
    ...
      http://youtube.com/user/blah
      http://www.youtube.com/user/bianca_sterlings
      http://www.youtube.com/user/blango );
    
  2. or download this
    (?-xism:http:\/\/(?:www\.youtube\.com\/user\/(?:b(?:ianca_sterlings|la
    +ngo)|jantje|pieter|frida)|youtube\.com\/(?:user\/(?:channel|blah)|cha
    +nnel\/doesntexist)))
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://823069]
help
Chatterbox?
[RonW]: james28909 Why not write a Perl program to do the task?
[choroba]: RonW Yes, but then, one day, they needed to switch from FTP to SFTP, and... but I can't give the whole talk away here :)
[RonW]: Tunnel FTP through stunnel?
[james28909]: i guess i should have done it in perl. i bet it woulnt have taken me 5 hours to figure out haha
[choroba]: In the end, I was able to upgrade Perl from 5.8.3 to 5.22 and install Net::SFTP::Foreign , at least for the task involved

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2017-05-22 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?