Well looking at my .nedit file I think it should be:
(class|function)[\\t| ]+(\\w+)[\\t| ]+
I am using Nedit 5.1.1, with this pattern file:
http://nedit.org/ftp/contrib/highlighting/php4.pats
The error you got might be because of v5.0.2, try a newer
version.
-James
On Sat, 15 Dec 2001, Roman Jasins wrote:
> Not exactly a phpESP question, but I'm using Nedit 5.0.2 to write code for
> phpESP, so it's kind of applicable. I imported php4 highlighting pattern
> (the one from nedit.org) but it refuses to work. This is the err I'm getting
> when I'm trying to highlight the syntax. Does anyone know what's up with it?
> The php_html (php3) pattern they had posted at nedit.org didn¹t work either.
>
> Erro in syntax highlighting regular expression:
> (class|function[\t|]+(\w+)[\t|]+
> invalid escape (\) sequence
>
> Thank you in advance,
> -Roman
|