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

Re: March a regex using split function

by BillKSmith (Monsignor)
on Sep 13, 2017 at 13:29 UTC ( [id://1199300]=note: print w/replies, xml ) Need Help??


in reply to March a regex using split function

A single example does not give us enough information to parse your input. My questions go far beyond the whitespace issues already discussed. All replies given so far assume that you want the first number after the first 'FREE'. Is that always true? Perhaps you need the first number after the first 'FREE' after the first 'HEAP' which is not preceded by 'NON-'. The number in your example is an integer. Always true? Can there be a newline anywhere in the record? The more that you tell us about your input, the better answer you are likely to receive.
Bill

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-24 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found