"Kurt B. Kaiser" <[EMAIL PROTECTED]> writes:
> I'm trying to split on two headers which are separated by a couple of
> lines. But I haven't been able to figure out how to match the newlines.
> I have:
>
> ("INBOX.SomeMailbox"
> "^From:.*avendor\\(.*[ \t\n]\\)*Subject:.*Order Confirmation")
>
> I started with
>
> "^From:.*avendor.*Subject:.*Order Confirmation" but '.' doesn't match
> a newline. I tried progressively more complicated regex but no joy.
>
Hello Kurt,
I think you can do like this :
("INBOX.SomeMailbox" "^From:.*avendor)
("INBOX.SomeMailbox" "^Subject:.*Order Confirmation")
I don't know if gnus parse line by line or the full message.
So maybe it's not possible to match newline...
--
AC
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english