Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Matching @ in string

by dwu (Monk)
on Nov 22, 2007 at 13:52 UTC ( [id://652372]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Matching @ in string
in thread Matching @ in string

perl -e 'if (q{h@t} =~ /(\@)/ ) { print $1 }'

See perlop for the q operator; look under "Regexp Quote-Like Operators", and a few scrolls down from that :)

PS: Your link to Re^3: Matching @ in string is broken because you did node=id instead of node_id - see What shortcuts can I use for linking to other information? for better, more efficient means of linking to information on Perlmonks.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-03-29 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found