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

Re: regexp problem

by secret (Beadle)
on Dec 08, 2005 at 13:36 UTC ( #515235=note: print w/replies, xml ) Need Help??


in reply to regexp problem

maybe you can trim the spaces at the ends first ?
s/^\s+//, s/\s+$// for $string;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2020-02-17 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (71 votes). Check out past polls.

    Notices?