From 193c9cfd8b08e78c3ef2dcf7cb4e280171ed6c09 Mon Sep 17 00:00:00 2001 From: SunboX Date: Thu, 16 Dec 2010 21:18:23 +0100 Subject: [PATCH] small fix & changed contributor ;o) --- lib/ace/mode/php.js | 2 +- lib/ace/mode/php_highlight_rules.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ace/mode/php.js b/lib/ace/mode/php.js index 6606ac54..12efc3d7 100644 --- a/lib/ace/mode/php.js +++ b/lib/ace/mode/php.js @@ -19,7 +19,7 @@ * the Initial Developer. All Rights Reserved. * * Contributor(s): -* Fabian Jakobs +* André Fiedler * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or diff --git a/lib/ace/mode/php_highlight_rules.js b/lib/ace/mode/php_highlight_rules.js index 2b55669a..a46de75f 100644 --- a/lib/ace/mode/php_highlight_rules.js +++ b/lib/ace/mode/php_highlight_rules.js @@ -19,7 +19,7 @@ * the Initial Developer. All Rights Reserved. * * Contributor(s): - * Fabian Jakobs + * André Fiedler * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -540,7 +540,7 @@ PhpHighlightRules = function() { else if (value == "debugger") return "invalid.deprecated"; else - if(value.match(/\$[a-zA-Z][a-zA-Z0-9_]|self|parent/)) + if(value.match(/\$[a-zA-Z][a-zA-Z0-9_]*|self|parent/)) return "variable"; return "identifier"; },