Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: single quotes not allowing in perl

by AnomalousMonk (Canon)
on May 24, 2013 at 18:00 UTC ( #1035183=note: print w/ replies, xml ) Need Help??


in reply to Re^3: single quotes not allowing in perl
in thread single quotes not allowing in perl

Update: Looked again, found the lost tilde in the  $title=qr(...) bit of code, not in the regex expression where I was looking. Nevermind...

You have lost the ~ in your match.

I don't see a  '~' (tilde) in the original
    if($title=~/^([a-zA-Z0-9 \.\-\(\)\%\&\:\;\,\"\']+)$/)
match. Can you clarify how it was lost?


Comment on Re^4: single quotes not allowing in perl
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2016-02-06 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (224 votes), past polls