variable definition in php.lang and python.lang

[email protected] Fri, 03 Aug 2007 11:09:27 -0500
Newsgroups gmane.comp.gnu.source-highlight.general
Message-ID <[email protected]>
There seems to be a strange definition in php.lang and python.lang:

$ grep :upper: *.lang
php.lang:variable = '[[:upper:]][[:word:]]*|_'
prolog.lang:variable = '[[:upper:]][[:word:]]*|_'
python.lang:variable = '[[:upper:]][[:word:]]*|_'

I believe this is correct for Prolog, but for Python or PHP ...?