[SVN] Problems with Perl syntax
Gerd Knops
gerti-textmate at bitart.com
Tue Aug 1 03:30:32 UTC 2006
On Jul 31, 2006, at 18:28, Brad Choate wrote:
> I'm seeing several issues with the Perl grammar lately. Here are
> some cases that are failing / crashing for me...
>
Thanks for the list, Brad. Guess I pushed it too far... Might have to
revert the RegExp rules. I'll be checking it out tomorrow time
permitting.
Gerd
>
> #1
>
> my @list = ('testing', 'one', 'two', 'test');
> s/test/ing/ foreach @list;
>
> or
>
> s/x/z/ if $test;
>
> #2
>
> Create a new document, Perl syntax
> type: "qr/"... TextMate hangs upon hitting the "r" key.
>
>
> #3
>
> if ($this =~ /that/s) {
> # highlighting from this point is off...
> }
>
> or
>
> if ($this =~ m/that/s) {
> # highlighting from this point is off...
> }
>
> -Brad
>
>
> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate-dev
More information about the textmate-dev
mailing list