On 24 Apr 2008, at 17:46, Teifion Jordan wrote: > I am trying to add a clause to my PHP language grammar that only > affects a variable between square brackets/braces What are you trying to achieve here? Are you wanting to theme variables used as an array index?