🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #45759

Re: [slrn] select signature while replying ?

#45759
From: Dawn Owens-Nicholson
Date: Fri, 08 Jan 1999 00:00
22 lines
1414 bytes
Kikutani Makoto wrote:
>     if (is_substr (current_newsgroup (), ".listing")) 
> [...]
>     if (is_substr (current_newsgroup (), "fj.") or
>             is_substr (current_newsgroup (), "japan.") or
>             is_substr (current_newsgroup (), "local.test") ) {

A suggestion--if these substrings are intended to match at at a particular
place in the group name, regular expressions can help against getting false
positives here.

   variable newsgroup = current_newsgroup ();

   if (string_match (newsgroup, "\.listing$", 1)) [...]

   if (orelse
	{ string_match (newsgroup, "^fj\.", 1) }
	{ string_match (newsgroup, "^japan\.", 1) }
	{ string_match (newsgroup, "^local\.test\.", 1) })
       [...]

Technical Details
Message-ID: <slrn79am98.bou.bluemoon@ux6.cso.uiuc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn793pdn.n9.kpjas@apex.mount.net> <7732kd$oul$1@ash.prod.itd.earthlink.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn79am98.bou.bluemoon@ux6.cso.uiuc.edu>
Subject: Re: [slrn] select signature while replying ?
Date: Fri, 08 Jan 1999 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <slrn793pdn.n9.kpjas@apex.mount.net> <7732kd$oul$1@ash.prod.itd.earthlink.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 430012749
Organization: University of Illinois at Urbana-Champaign
User-Agent: slrn/0.9.5.4 (UNIX)
Newsgroups: news.software.readers