Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: perl string extract

by ig (Vicar)
on Oct 04, 2010 at 10:12 UTC ( [id://863306]=note: print w/replies, xml ) Need Help??


in reply to perl string extract

If you don't want trailing spaces:

$line =~ /logfile\s*=\s*([^,]*[^,\s])/;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-26 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found