I guess this one is very hard to solve.

Perl syntax have some oddities that make it nearly impossible for classical
syntax highlighting (ie based on simple regexes instead of a real parser) to
work in such cases...

emacs perl-mode had exactly that sort of problems, they have been solved in
cperl-mode...

a workaround for your example can be to put a comment at the end of the line
with a double quote...

$" = whatever; # "

that way pspad will match the two " and the next lines won't be affected...

you will get the same kind of problems with regexes containing just one (double)
quote ... and can use the same trick.

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

Odpovedet emailem