small fix & changed contributor ;o)

This commit is contained in:
SunboX 2010-12-16 21:18:23 +01:00
commit 193c9cfd8b
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Fabian Jakobs <fabian AT ajax DOT org>
* André Fiedler <fiedler dot andre a t gmail dot com>
*
* 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

View file

@ -19,7 +19,7 @@
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Fabian Jakobs <fabian AT ajax DOT org>
* André Fiedler <fiedler dot andre a t gmail dot com>
*
* 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";
},