Why do (or should) double quotes lose their normal meaning inside
double brackets?

I would like to see double quotes and single quotes NOT disable
RE functionality when used with =~.  I would like to suggest that to
disable RE functionality, that the user use '==', instead.

Wouldn't it be reasonable to do RE matching when one does =~ and not
do it when one uses ==?

Either that, or perhaps reversing the sense with == and quotes, so that
if you use double/single quotes with ==, then it does an REGEX match.
(right!)  As ludicrous as that sounds -- having double or single quoted
strings be special cased with =~ makes as much sense.

The whole point of the =~ was to allow regex matching.  If you don't
want it, why would you have to create special, asymmetric functionality
for quotes?



Reply via email to