* Michael Seiwert ([EMAIL PROTECTED]) wrote:

> Hi,
> 
> mutt detects an error in one of the following lines but I can't find
> an error maybe you see the error.
> 
> color body       green      black "((;|:|8\\:|\\=)(-|=|~|_|-'|%|<|)(\\)|Q|P|\\)%))"
> 
> color body       red        black "(*)(ACK|ROTFL|LOL|SCNR|BRB|BTW|C|CWYL|FWIW|g|G|b
> g|vbg|GIWIST|G,D&R|HHOK|HTH|HTHBE|IMHO|IMNSHO|IOW|IRL|ITRW|OTP|OTF|OIC|OTOH|POV|RL|R
> TFM|ROTFL|TTFN|TTYL|U|WAEF|Y|TIMTOWTDI)(*)"

Easy, just run it through something that gives more detailed errors:

test.rb:2: invalid regular expression; there's no previous pattern, to
which '*' would define cardinality at 2: /(*)(ACK|ROTFL|LOL|SCNR|BRB
|BTW|C|CWYL|FWIW|g|G|bg|vbg|GIWIST|G,D&R|HHOK|HTH|HTHBE|IMHO|IMNSHO|
IOW|IRL|ITRW|OTP|OTF|OIC|OTOH|POV|RL|RTFM|ROTFL|TTFN|TTYL|U|WAEF|Y|T
IMTOWTDI)(*)/

In other words, (*) is meaningless, since the * doesn't have anything to
attach to (did you mean .* ?)

-- 
Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/
-
If one cannot enjoy reading a book over and
over again, there is no use in reading it at all.
                -- Oscar Wilde

Reply via email to