Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: extra spaces before \r\n

by ajwans (Scribe)
on Mar 06, 2002 at 03:03 UTC ( [id://149602]=note: print w/replies, xml ) Need Help??


in reply to extra spaces before \r\n

You need to change the greediness of the regex operators
/\s*\t*\s*\/(.*)=(.*)\s*\r/
should become
/\s*\t*\s*\/(.*)=(.*?)\s*\r/
You can read all about it in the perlre perldoc.

1. dude, what does mine say?
2. "sweet", what about mine?
3. "dude", what does mine say?
4. GOTO 2

Replies are listed 'Best First'.
Re: Re: extra spaces before \r\n
by agustina_s (Sexton) on Mar 06, 2002 at 04:05 UTC
    thanks a lot...

Log In?
Username:
Password:

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

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

    No recent polls found