Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: quick regex question

by sschneid (Deacon)
on Jul 15, 2003 at 13:52 UTC ( [id://274413]=note: print w/replies, xml ) Need Help??


in reply to quick regex question

\s is whitespace. try s/\///g;.

-s.

Replies are listed 'Best First'.
Re: quick regex question
by Abigail-II (Bishop) on Jul 15, 2003 at 13:55 UTC
    \s is only whitespace in a regexp, not in the substitution part. There \s is just an s.

    Abigail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-19 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found