Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: Parenthesis grouping into regexes.

by aramisf (Beadle)
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.

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://967440]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2018-02-22 14:18 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (294 votes). Check out past polls.