> 
> [-
>              (/^(\s*)([o*+\200])\s+[^*]+$/ || /^(\s+)([-])\s+.*$/);
> - -]
> 
> Generates the error:
> 
> [9636]ERR: 24: Line 2: Error in Perl code: (in cleanup) [Mon May 1 
> 11:52:06 2000] foo.html: Search pattern not terminated at 
> /usr/local/www/onecallweb/docs/foo.html line 3.
> 
> Clearly the -] is causing problems, but how do I escape it?


Replaceing - by \x2d should solve the problem.

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to