Gnus development mailing list
 help / color / mirror / Atom feed
* Banner parameter not working
@ 2001-09-07 22:13 Rafael Villarroel
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael Villarroel @ 2001-09-07 22:13 UTC (permalink / raw)



In today's CVS gnus, I can't use the following in gnus-parameters

(banner . "^_____________+\nDo You Yahoo.*\n\\(^.*\n\\)+\\'")

When I try to enter a group, I get...

Invalid use of `\' in replacement text 

... but if I don't use \\( and \\), then it works. Of course that
doesn't remove the whole banner.

However, this works well in the released Oort v 0.03

Rafael


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Banner parameter not working
       [not found] <private:dingy0lbskmr6o6.fsfhello@somewhere.com>
@ 2001-09-10 18:30 ` Matt Christian
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Christian @ 2001-09-10 18:30 UTC (permalink / raw)
  Cc: ding

Rafael Villarroel <rvf@hotpop.com> writes:

> In today's CVS gnus, I can't use the following in gnus-parameters
> 
> (banner . "^_____________+\nDo You Yahoo.*\n\\(^.*\n\\)+\\'")

I just tried out your banner regexp on Gnus 5.8.8 and it didn't work for
me so I tweaked it and created my own version(s).

One thing I noticed is that the Yahoo! email I receive does not end in a
new line (\n) character so that is probably why your banner doesn't work.

Safer:

(banner . "^_____________+\nDo You Yahoo.*\n.*\n.*\\(\n.*\\)?")

Aggressive:

(banner . "^_____________+\nDo You Yahoo.*\n.*\\(\n.*\\)+")

> When I try to enter a group, I get...
> 
> Invalid use of `\' in replacement text 
> 
> ... but if I don't use \\( and \\), then it works. Of course that
> doesn't remove the whole banner.
> 
> However, this works well in the released Oort v 0.03


- Matt

-- 
Matt Christian - mattc@visi.com
http://www.visi.com/~mattc/
ftp://ftp.visi.com/users/mattc/
Learn to love and love to learn.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-10 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-07 22:13 Banner parameter not working Rafael Villarroel
     [not found] <private:dingy0lbskmr6o6.fsfhello@somewhere.com>
2001-09-10 18:30 ` Matt Christian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).