Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: How to get an integer sub string between two string

by Krambambuli (Curate)
on Jan 17, 2015 at 09:51 UTC ( #1113587=note: print w/replies, xml ) Need Help??


in reply to Re: How to get an integer sub string between two string
in thread How to get an integer sub string between two string

This will not work when the IP address (or any other field) might have a different length...
Compare 1.2.3.4 with 111.222.111.222 for example.
  • Comment on Re^2: How to get an integer sub string between two string

Replies are listed 'Best First'.
Re^3: How to get an integer sub string between two string
by Anonymous Monk on Jan 17, 2015 at 10:51 UTC
    If data isn't fixed length use \S+, perlrequick, its for ppp :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2019-12-08 00:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (162 votes). Check out past polls.

    Notices?