Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: mixed case with match

by kcott (Archbishop)
on Sep 21, 2020 at 19:21 UTC ( [id://11122027]=note: print w/replies, xml ) Need Help??


in reply to mixed case with match

G'day catfish1116,

You could use the 'i' modifier. See "perlre: Modifiers".

You might also want to capture the exact variation matched so your subsequent print is more accurate; for instance, "... until I found perl", "... until I found Perl", "... until I found pErL", etc. See "perlre: Capture groups".

— Ken

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found