[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About toothpicks (was Re: nnimap-split-fancy)

From: Tommy Kelly
Subject: Re: About toothpicks (was Re: nnimap-split-fancy)
Date: Fri, 17 Dec 2010 16:39:53 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (darwin)

Štěpán Němec <address@hidden> writes:
> ...If you want to match a literal dot, you need '\.', but inside lisp
> strings, double quotes and backslashes must be escaped with a backslash,
> so what you end up with is "\\.".

Thanks Štěpán. I think I'd figure that but what was confusing me was the
fact that an unescaped dot was shown in examples for the non-fancy
split method. For example, in info "6.3.3 Splitting Mail" you see an
example of:

     ("list.\\1" "From:.* \\(.*\\)address@hidden")

So shouldn't the dot after "majordomo" be double escaped?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]