Re: regexp highlighting

1999-07-31 Thread esoR ocsirF
On Sat, Jul 31, 1999 at 11:40:42PM +0200, Stefan `Sec` Zehl wrote: > > the problem is that ] denotes the end of an caharacter class in an > regexp. If you want to include a literal ], you have to use it as first > character inside this class. > > color body brightgreen black " [;=:]-*[])>(<|/\]"

Re: regexp highlighting

1999-07-31 Thread Stefan `Sec` Zehl
hi, On Sat, Jul 31, 1999 at 12:12:19PM -0400, esoR ocsirF wrote: > color body brightgreen black " [;=:]-*[)>(<|//\/]]" # :-) etc... the problem is that ] denotes the end of an caharacter class in an regexp. If you want to include a literal ], you have to use it as first character inside th

Re: regexp highlighting

1999-07-31 Thread Brian D. Winters
> color body brightgreen black " [;=:]-*[)>(<|//\/]]" # :-) etc... >^^ I think that the added right square bracket probably needs to be escaped. Try this (untested): color body brightgreen black " [;=:]-*[)>(<|//\/\]]" # :-) etc...