From 32e3ad5966e5f199a3b2019d02b7558ef98bfe4c Mon Sep 17 00:00:00 2001 From: Adam Jimenez Date: Tue, 3 Jun 2014 00:41:47 +0100 Subject: [PATCH] fix "{$foo['bar']}" --- lib/ace/mode/php/php.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ace/mode/php/php.js b/lib/ace/mode/php/php.js index 74af47c2..e82a680a 100644 --- a/lib/ace/mode/php/php.js +++ b/lib/ace/mode/php/php.js @@ -731,7 +731,7 @@ PHP.Lexer = function( src, ini ) { type = 0; if( curlyOpen > 0 ){ - if( match2 = match[0].match(/^[\[\]\;\:\?\(\)\!\.\,\>\<\=\+\-\/\*\|\&\{\}\@\^\%\"\'\$\~]/) ){ + if( match2 = match[0].match(/^[\[\]\;\:\?\(\)\!\.\,\>\<\=\+\-\/\*\|\&\{\}\@\^\%\$\~]/) ){ results.push(match2[0]); }else{ type = PHP.Constants.T_STRING;