[TxMt] Re: Python bundle syntax highlighting bug
lists at arachnedesign.net
Mon Aug 13 18:03:56 UTC 2007
>>> I think you are probably right. Does anyone else have an opinion
>>> on this?
>> I agree this doesn't seem right, and can produce some confusing
>> results. On the other hand, it's very nice to have regex
> I prefer to trade-off false-positives for the nicety of regex
>> Wouldn't it be possible to have the first string located within a
>> re.XXXXX('') pattern be highlighted as regex? Am I wrong, or are
>> those the only places where regex appear?
> s = r"...."
> pattern = re.compile(s)
> is always, possible, if contrived. I think re.XXXXX is an
> interesting suggestion though.
I'm in the same boat with Jay.
I think it's kind of nice to have special highlighting for regex's.
I'd settle for it only being switched on when we have re.*
(r"regex" ... ) if the "always a regex w/ r" " really isn't suitable
More information about the textmate