[TxMt] Re: PHP Grammar / Syntax Highlight Bug

Allan Odgaard mailinglist at textmate.org
Tue Feb 2 18:03:10 UTC 2010


On 22 Jan 2010, at 23:34, GreyWyvern wrote:

> [...]
> Hopefully these are simple grammar file fixes :)

GitHub is down, but will file this as http://github.com/textmate/php.tmbundle/issues/1 
  when it is up again.

It is a grammar fix, but I think we have a giant regexp to match  
variables with array subscripts in strings, so given that it seems PHP  
(no longer?) restricts array subscripts in embedded variables to  
regular languages, it may require a restructuring of the rule in  
question (to a begin/end rule).




More information about the textmate mailing list