Gnus development mailing list
 help / color / mirror / Atom feed
* 'nother split-fancy question
@ 2008-03-10 14:30 Norman Walsh
  2008-03-10 20:40 ` Reiner Steib
  2008-03-11 16:16 ` Ted Zlatanov
  0 siblings, 2 replies; 4+ messages in thread
From: Norman Walsh @ 2008-03-10 14:30 UTC (permalink / raw)
  To: ding

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

Consider the following headers:

X-From-Line: ndw  Sat Mar  8 07:55:22 2008
Delivered-To: normanwalsh@gmail.com
Received: from gmail-pop.l.google.com [72.14.205.109]
	by traytable.local with POP3 (fetchmail-6.3.8)
	for <ndw@localhost> (single-drop); Sat, 08 Mar 2008 07:55:22 -0500 (EST)
Received: by 10.82.157.1 with SMTP id f1cs343836bue;
        Sat, 8 Mar 2008 00:44:48 -0800 (PST)
Received: by 10.100.171.10 with SMTP id t10mr5972763ane.104.1204965887162;
        Sat, 08 Mar 2008 00:44:47 -0800 (PST)
Return-Path: <grbounce-lPTaPAUAAAA8CARezmtgN0tGqCMVpu-N=normanwalsh=gmail.com@googlegroups.com>
Received: from wr-out-0708.google.com (wr-out-0708.google.com [64.233.184.248])
        by mx.google.com with ESMTP id b7si9078249ana.5.2008.03.08.00.44.43;
        Sat, 08 Mar 2008 00:44:47 -0800 (PST)
Received-SPF: pass (google.com: domain of grbounce-lPTaPAUAAAA8CARezmtgN0tGqCMVpu-N=normanwalsh=gmail.com@googlegroups.com designates 64.233.184.248 as permitted sender) client-ip=64.233.184.248;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of grbounce-lPTaPAUAAAA8CARezmtgN0tGqCMVpu-N=normanwalsh=gmail.com@googlegroups.com designates 64.233.184.248 as permitted sender) smtp.mail=grbounce-lPTaPAUAAAA8CARezmtgN0tGqCMVpu-N=normanwalsh=gmail.com@googlegroups.com; dkim=pass (test mode) header.i=@googlegroups.com
Received: by wr-out-0708.google.com with SMTP id 75so2435979wra.2
        for <normanwalsh@gmail.com>; Sat, 08 Mar 2008 00:44:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=beta;
        h=domainkey-signature:received:received:x-sender:x-apparently-to:mime-version:content-type:message-id:date:received:in-reply-to:x-ip:references:user-agent:x-http-useragent:subject:from:to:x-google-approved:reply-to:sender:precedence:x-google-loop:mailing-list:list-id:list-post:list-help:list-unsubscribe;
        bh=2A3UUIIatQu5YSMVyDEwN7H0wFWUdE1fR6eHJsMsRuw=;
        b=d63Guf0KFRaw5u3I6X/AfXux5+EZbn+fI3IgqT18TsI7Ds7ENL/gElcMpl74BsgF1Xc4qhzJ30XCPqJNq+LclaJu4l0sD34Kq6TAAntEh5xvnlNNQBgLbGexUUZNtE9n1JMG5KV5ViJTukDuJWTxtoQYlJUOnvkGKu2Blt5Lo5s=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=googlegroups.com; s=beta;
        h=x-sender:x-apparently-to:mime-version:content-type:message-id:date:in-reply-to:x-ip:references:user-agent:x-http-useragent:subject:from:to:x-google-approved:reply-to:sender:precedence:x-google-loop:mailing-list:list-id:list-post:list-help:list-unsubscribe;
        b=RIIjabNgIEJiTBZt7fLh0h2x9AVwgThvKZazLsHfLrbiv4ka2nWhzF/QW44/INsLHzuuDvQxz/Bev8LQDtPyqdMw3G8CmtPSYjZd/xiX7UoB2qjoridkebEGyRLSy8Vj8fTJxrT12PRG5MHSJRssa8sHG3bOZ9VsgyCtfMVP0zQ=
Received: by 10.100.242.20 with SMTP id p20mr277053anh.27.1204965877859;
        Sat, 08 Mar 2008 00:44:37 -0800 (PST)
Received: by 10.44.151.40 with SMTP id y40gr675hsd.0;
	Sat, 08 Mar 2008 00:44:37 -0800 (PST)
X-Sender: dk@ropas.snu.ac.kr
X-Apparently-To: carbon-emacs@googlegroups.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Gnus-Mail-Source: file:/var/mail/ndw
Message-ID: <de425df8-ab8d-4897-9fd5-79b5a9783773@i12g2000prf.googlegroups.com>
Date: Sat, 8 Mar 2008 00:33:50 -0800 (PST)
Received: by 10.100.166.10 with SMTP id o10mr299609ane.4.1204965230319; Sat,  08 Mar 2008 00:33:50 -0800 (PST)
In-Reply-To: <3F8809AC-7B9D-4691-8B62-E40C0B7BED4B@mac.com>
X-IP: 76.192.204.182
References: <3F8809AC-7B9D-4691-8B62-E40C0B7BED4B@mac.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; ko; rv:1.8.1.12)  Gecko/20080201 Firefox/2.0.0.12,gzip(gfe),gzip(gfe)
Subject: [carbon-emacs:675] Re: Carbon Emacs Package (Winter 2008)
From: Deokhwan Kim <dk@ropas.snu.ac.kr>
To: Carbon Emacs <carbon-emacs@googlegroups.com>
X-Google-Approved: zenitani@gmail.com via web at 2008-03-08 08:44:37
Reply-To: carbon-emacs@googlegroups.com
Sender: carbon-emacs@googlegroups.com
Precedence: bulk
X-Google-Loop: groups
Mailing-List: list carbon-emacs@googlegroups.com;
	contact carbon-emacs-owner@googlegroups.com
List-Id: <carbon-emacs.googlegroups.com>
List-Post: <mailto:carbon-emacs@googlegroups.com>
List-Help: <mailto:carbon-emacs-help@googlegroups.com>
List-Unsubscribe: <http://googlegroups.com/group/carbon-emacs/subscribe>,
	<mailto:carbon-emacs-unsubscribe@googlegroups.com>
Xref: nwalsh.com googlegroups.carbon-emacs:1
Lines: 19

Can anyone explain why this rule:

  (to "carbon-emacs@googlegroups\\.com" "googlegroups.carbon-emacs")

matches and works fine, but this rule:

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

sends the message to "googlegroups." ?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | A language is a dialect that has an
http://nwalsh.com/            | army and a navy.--Max Weinreich

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

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

* Re: 'nother split-fancy question
  2008-03-10 14:30 'nother split-fancy question Norman Walsh
@ 2008-03-10 20:40 ` Reiner Steib
  2008-03-13 10:52   ` Johan Bockgård
  2008-03-11 16:16 ` Ted Zlatanov
  1 sibling, 1 reply; 4+ messages in thread
From: Reiner Steib @ 2008-03-10 20:40 UTC (permalink / raw)
  To: ding

On Mon, Mar 10 2008, Norman Walsh wrote:

> Consider the following headers:
[...]
> To: Carbon Emacs <carbon-emacs@googlegroups.com>
[...]

> Can anyone explain why this rule:
>
>   (to "carbon-emacs@googlegroups\\.com" "googlegroups.carbon-emacs")
>
> matches and works fine, but this rule:
>
>   (to "\\(.*\\)@googlegroups\\.com" "googlegroups.\\1")
>
> sends the message to "googlegroups." ?

Does "\\([a-z0-9_-]+\\)@googlegroups\\.com" work?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




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

* Re: 'nother split-fancy question
  2008-03-10 14:30 'nother split-fancy question Norman Walsh
  2008-03-10 20:40 ` Reiner Steib
@ 2008-03-11 16:16 ` Ted Zlatanov
  1 sibling, 0 replies; 4+ messages in thread
From: Ted Zlatanov @ 2008-03-11 16:16 UTC (permalink / raw)
  To: Norman Walsh; +Cc: ding

On Mon, 10 Mar 2008 10:30:00 -0400 Norman Walsh <ndw@nwalsh.com> wrote: 

NW> Can anyone explain why this rule:

NW>   (to "carbon-emacs@googlegroups\\.com" "googlegroups.carbon-emacs")

NW> matches and works fine, but this rule:

NW>   (to "\\(.*\\)@googlegroups\\.com" "googlegroups.\\1")

NW> sends the message to "googlegroups." ?

I don't know.  I tested with:

(let ((a "tzz@googlegroups.com"))
  (when (string-match "\\(.*\\)@googlegroups\\.com" a)
    (debug (match-string 1 a))))

and got "tzz" so something is interfering with the matching.

Ted



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

* Re: 'nother split-fancy question
  2008-03-10 20:40 ` Reiner Steib
@ 2008-03-13 10:52   ` Johan Bockgård
  0 siblings, 0 replies; 4+ messages in thread
From: Johan Bockgård @ 2008-03-13 10:52 UTC (permalink / raw)
  To: ding

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Mon, Mar 10 2008, Norman Walsh wrote:
>
>> Can anyone explain why this rule:
>>
>>   (to "carbon-emacs@googlegroups\\.com" "googlegroups.carbon-emacs")
>>
>> matches and works fine, but this rule:
>>
>>   (to "\\(.*\\)@googlegroups\\.com" "googlegroups.\\1")
>>
>> sends the message to "googlegroups." ?

Gnus does the matching via re-search-backward with a regexp that looks
like ^\(\(FIELD\):.*\)\(VALUE\)

-- 
Johan Bockgård




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

end of thread, other threads:[~2008-03-13 10:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-10 14:30 'nother split-fancy question Norman Walsh
2008-03-10 20:40 ` Reiner Steib
2008-03-13 10:52   ` Johan Bockgård
2008-03-11 16:16 ` Ted Zlatanov

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).