Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: regex search and replace issue

by Utilitarian (Vicar)
on Nov 11, 2011 at 08:57 UTC ( #937551=note: print w/ replies, xml ) Need Help??


in reply to Re: regex search and replace issue
in thread regex search and replace issue

Or by using the case insensitivity modifier to the regex.

$Message =~ s/^db //i;

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


Comment on Re^2: regex search and replace issue
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (14)
As of 2015-07-30 08:35 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 (270 votes), past polls