Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^5: Help:getting parts of the strings from a file into managable variables

by tmoertel (Chaplain)
on Nov 12, 2004 at 18:03 UTC ( [id://407455]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Help:getting parts of the strings from a file into managable variables
in thread Help:getting parts of the strings from a file into managable variables

You change the regex from
m|^ <([^>]+)> (.*) </\1> |x)
to
m|^ \s* <([^>]+)> (.*) </\1> |x)
The \s* matches zero or more spaces.

Cheers,
Tom

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-03-28 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found