Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Problem with regular expression

by Utilitarian (Vicar)
on Feb 13, 2013 at 13:24 UTC ( #1018537=note: print w/ replies, xml ) Need Help??


in reply to Re: Problem with regular expression
in thread Problem with regular expression

oops, I missed the one with a colon :(

(?: # begin non capturing group CR|ID # alternation accepts either pattern group 'CR' or 'ID' )? # group is optional

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."


Comment on Re^2: Problem with regular expression
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2015-07-08 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls