I've just noticed a problem with the PHP hilighter - it doesn't allow all the
characters that can be real PHP identifiers.

The PHP Manual:
--------------------------------------------------------------------------------
Variable names follow the same rules as other labels in PHP. A valid variable
name starts with a letter or underscore, followed by any number of letters,
numbers, or underscores. As a regular expression, it would be expressed thus:
'[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*'
--------------------------------------------------------------------------------


If I try to use a symbol above 0x7f in a variable name then the syntax hilighter
does not recognise it.

Example:
$test•ing = 'test';

The whole $test•ing should be hilighted, but only the
$test part is.

This is pretty minor, I suppose, because who really uses the Pilcrow sign /
Bullet sign / whatever in a variable name - but in the rare case that someone
does, they'll be disappointed!

-- 
<http://forum.pspad.com/read.php?2,40698,40698>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem