Gnus development mailing list
 help / color / mirror / Atom feed
From: Norman Walsh <ndw@nwalsh.com>
To: ding@gnus.org
Subject: Random regex/fancy-split question
Date: Mon, 04 Apr 2011 13:05:59 -0400	[thread overview]
Message-ID: <m2fwpy54lk.fsf@nwalsh.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]

Hello world,

Every now and then I stumble over a new google group for which this
fancy split line doesn't work:

   (to "\\(.+\\)@googlegroups\\.com" "googlegroups.\\1")

Or maybe it doesn't work for any of them, I'm not sure now.

Most recently, it was mail to this address:

   To: "epub-working-group@googlegroups.com" <epub-working-group@googlegroups.com>

All those messages wound up in a group called "googlegroups.".

I poked it with a stick a bit and got various permutations, such as
"googlegroups.p" and "googlegroups.group" but eventually I gave up and
created another split line:

   (to "epub-working-group@googlegroups\\.com" "googlegroups.epub-working-group")

to fix the problem.

But it bugs me that the regexp doesn't work because I think it should.

Clue by four, anyone?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | We are afraid of the old age which we
http://nwalsh.com/            | may never attain.--La Bruyère

[-- Attachment #2: Type: application/pgp-signature, Size: 186 bytes --]

             reply	other threads:[~2011-04-04 17:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 17:05 Norman Walsh [this message]
2011-04-04 17:12 ` Randal L. Schwartz
2011-04-05 11:01   ` Norman Walsh
2011-04-05 13:05     ` Leonidas Tsampros
2011-04-05 14:57       ` Norman Walsh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2fwpy54lk.fsf@nwalsh.com \
    --to=ndw@nwalsh.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).