Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Quick RegExp question

by Tanktalus (Canon)
on Mar 04, 2008 at 20:17 UTC ( [id://672001]=note: print w/replies, xml ) Need Help??


in reply to Quick RegExp question

I think you mean \s, not /s.

That and I'm not sure why a space is of concern... it generally shouldn't be unless you're using system with shell characters (and even then you can get around it).

Replies are listed 'Best First'.
Re^2: Quick RegExp question
by wruehl (Acolyte) on Mar 04, 2008 at 20:52 UTC
    It actually came out of the fact that someone else(my team lead) mistakenly put a space in a path that didn't contain that space, crashing the script. When I told my team lead he instructed me to create a check for spaces in the variable string path. Thanks for the help.
    -Bill

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-26 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found