in reply to making regex case insensitive
if ($array_A[$ds] =~ /test/i)
There is also:
This is especially useful if you want part of the pattern case-sensitive and part not. For example, the first letter may be upper or lowercase but the rest must be lowercase.
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (327 votes). Check out past polls.