Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: needing to zip files in a series that begin with the same IP address

by Riales (Hermit)
on Jul 27, 2012 at 20:42 UTC ( #984097=note: print w/ replies, xml ) Need Help??


in reply to needing to zip files in a series that begin with the same IP address

You need to escape the . like this: \.. At the end of your regex, you're matching everything left with the /.*/.


Comment on Re: needing to zip files in a series that begin with the same IP address
Select or Download Code
Re^2: needing to zip files in a series that begin with the same IP address
by diamondsandperls (Beadle) on Jul 27, 2012 at 20:52 UTC
    im not needing to escape i have the ip addresses and files i need to work with.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-12-25 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls