Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] running a scenario regex match on subject that spans multiple physical lines?
- From: IKEDA Soji <address@concealed>
- To: Erik Olson <address@concealed>
- Cc: address@concealed
- Subject: Re: [sympa-users] running a scenario regex match on subject that spans multiple physical lines?
- Date: Wed, 4 Nov 2020 15:13:44 +0900
Hi Erik,
On Wed, 21 Oct 2020 17:23:11 -0700
Erik Olson <address@concealed> wrote:
> In the hobby mailing lists I admin, there are occasional messages posted
> that really need to be replied to off-list, and with the continuing
> trend of mailers to obscure what you're replying to, people just
> occasionally 'miss' and send an inappropriate reply to the list.
>
> I added a line to our custom scenario file (thanks to this list for
> pointing me in that direction, btw) as such:
>
> match([header->Subject][0],/.*Re:.*offlist.*/) -> editorkey
>
> with the idea that anyone including the word "offlist" in the subject
> would be fine, but if someone tries to reply to the post, it gets moderated.
>
> This worked great until someone tried a longer-ish subject line, "Would
> you participate in a virtual gift exchange at the December meeting?
> (reply offlist please)"
>
> The replies did not get moderated. I think the culprit is that the
> subject is split into multiple lines - it looks that way in the source:
>
> Subject: Re: [testing] [Airstone] Would you participate in a virtual
> gift
> exchange at the December meeting? (reply offlist please)
>
> Is there a way to check against the entire concatenated header?
Though I haven't confirmed, perhaps
[msg->decoded_subject]
instead of "[header->Subject][0]" may give what you want.
Regards,
-- Soji
> Thanks as always for the insight of this list,
>
> - Erik
>
> --
>
> Erik Olson address@concealed
--
株式会社 コンバージョン
ITソリューション部 システムソリューション1グループ 池田荘児
〒140-0014 東京都品川区大井1-49-15 YK-17ビル4F
e-mail address@concealed
https://www.conversion.co.jp/
-
Re: [sympa-users] running a scenario regex match on subject that spans multiple physical lines?,
David Verdin, 11/02/2020
-
Re: [sympa-users] running a scenario regex match on subject that spans multiple physical lines?,
Erik Olson, 11/02/2020
- Re: [sympa-users] running a scenario regex match on subject that spans multiple physical lines?, David Verdin, 11/03/2020
- <Possible follow-up(s)>
-
Re: [sympa-users] running a scenario regex match on subject that spans multiple physical lines?,
IKEDA Soji, 11/04/2020
- Re: [sympa-users] running a scenario regex match on subject that spans multiple physical lines?, Erik Olson, 11/04/2020
-
Re: [sympa-users] running a scenario regex match on subject that spans multiple physical lines?,
Erik Olson, 11/02/2020
Archive powered by MHonArc 2.6.19+.