[TxMt] Recent Perl change to parsing extended regexps

Dave Winzler dave at nkvt.com
Tue Sep 5 16:40:40 UTC 2006

A recent change to the Perl bundle had the effect of highlighting  
large chunks of code as if they were match or replace statments. For  
example, it parses this line as if the slash were the start of a m/ 
regexp/ statement:

		local $/;

It does the same to pretty much any line with a slash in it, for  
example when dividing two numbers.

As a workaround I've added '#/' as a comment to the end of these  
lines, but I'm hoping that's a very short-lived hack ;)

Many thanks in advance,

	- Dave

More information about the textmate mailing list