go ahead... be a heretic | |
PerlMonks |
Re: Tri state string compare?by hdb (Monsignor) |
on Dec 13, 2015 at 18:51 UTC ( [id://1150176]=note: print w/replies, xml ) | Need Help?? |
Replace all "don't care characters" with . and you have a regex that does the job.
If you want to use logical operators the following works as well
In Section
Seekers of Perl Wisdom
|
|