bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RFE: request for quotes as grouping operators to work in brackets as els


From: Linda Walsh
Subject: RFE: request for quotes as grouping operators to work in brackets as elsewhere.
Date: Thu, 16 Sep 2010 21:46:13 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Thunderbird/2.0.0.24 Mnenhy/0.7.6.666





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

[Prev in Thread] Current Thread [Next in Thread]