Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: weird regex question

by trizen (Friar)
on Apr 25, 2012 at 20:47 UTC ( #967163=note: print w/ replies, xml ) Need Help??


in reply to Re^2: weird regex question
in thread weird regex question

1 and 5

my $string = "hello world"; print $string =~ /^.{@{[!$[]}}(.{${\($]<<$]>>$])}})/; # 'ello '
or print $]>>$?;


Comment on Re^3: weird regex question
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2014-10-02 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (61 votes), past polls