Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: problems with global $1

by andyford (Curate)
on Oct 22, 2007 at 19:16 UTC ( #646552=note: print w/ replies, xml ) Need Help??

in reply to Re: problems with global $1
in thread problems with global $1

If the string is at the beginning of the line: you have the '^' at the beginning your regex. You also have to make sure that what you think is a single space is really a single space. Try changing the space in the regex to, say, '\s+' to match any kind and amount of white space. There are probably other things that could go wrong that I haven't thought of...

non-Perl: Andy Ford

Comment on Re^2: problems with global $1

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2015-11-30 23:24 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (788 votes), past polls