Change your first regex to /$_/ig. Note the i-modifier (which tells it to match case insensitively). Another option is to uc() or lc() all input data and then compare.
In reply to Re: making my suroutine and parts of my program case insensitive.
by The Mad Hatter
in thread making my suroutine and parts of my program case insensitive.
by replicant4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |