Gnus development mailing list
 help / color / mirror / Atom feed
* fancy split regexp?
@ 2002-05-08 18:48 Josh Huber
  2002-05-08 18:58 ` Bryan
  0 siblings, 1 reply; 7+ messages in thread
From: Josh Huber @ 2002-05-08 18:48 UTC (permalink / raw)


I must be being pretty dense here -- perhaps someone could help me
out.  Here's the rule:

	("Resent-To"
	 "\\(.+\\)@packages\\.qa\\.debian\\.org"
	 "mail.debian.pts.\\1")

This does not work.

Variations on this, such as .*, [a-z-_]+ (or *), \\w+, etc do not
work!  The versions with * always seem to match nothing, and the
message would be split into mail.debian.pts., the versions with +
always seem to match e: mail.debian.pts.e

The message I'm using for testing has this header:

Resent-To: developers-reference@packages.qa.debian.org

This works fine:

(let ((str "developers-reference@packages.qa.debian.org"))
  (string-match "\\<\\(.*\\)@packages\\.qa\\.debian\\.org\\>" str)
  (match-string 1 str))

=> "developers-reference"

What could possibly be going on here?

-- 
Josh Huber



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

end of thread, other threads:[~2002-05-10 15:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-08 18:48 fancy split regexp? Josh Huber
2002-05-08 18:58 ` Bryan
2002-05-08 19:26   ` Josh Huber
2002-05-08 19:39     ` Paul Jarc
2002-05-08 21:51       ` Josh Huber
2002-05-10  9:46         ` Kai Großjohann
2002-05-10 15:23           ` Josh Huber

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