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

Re^2: Parenthesis grouping into regexes.

by aramisf (Sexton)
on Apr 26, 2012 at 19:42 UTC ( #967440=note: print w/ replies, xml ) Need Help??


in reply to Re: Parenthesis grouping into regexes.
in thread Parenthesis grouping into regexes.

I'm not sure if I understand the question correctly.

I have a file, with lots of ip addresses. I filter ip patterns from each line.

Is that what you asked?


Comment on Re^2: Parenthesis grouping into regexes.
Re^3: Parenthesis grouping into regexes.
by Kenosis (Priest) on Apr 27, 2012 at 02:10 UTC

    Hi, aramisf.

    Was just curious about how those IP beasties were embedded in your text, as that might help with extracting them.

    Hope you've found a viable solution within these suggestions.

      Yes, the problem was solved. Thanks!
      The best way suggested to filter an ip address was given by petdance and mbethke.
      My problem wasn't just filtering beautifully, but that indeed improved my seeking.
      The second issue, and maybe the most clarifying tip was suggested by BillKSmith,
      that showed me the path to Regexes grouping Wisdom .

      Actually, I learned a lot.

      Hi Kenosis, Sorry for late reply.
      IP addresses are in a csv file, all comma separated.

      The problem was solved. Thanks for helping! :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2014-10-24 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (131 votes), past polls