From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87931 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap-split-fancy: regexp ".*" matches less than expected Date: Sat, 07 Apr 2018 11:09:14 +0200 Message-ID: <87h8on9ydh.fsf@linux-m68k.org> References: <87po3br1k1.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523092088 26432 195.159.176.226 (7 Apr 2018 09:08:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 7 Apr 2018 09:08:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) Cc: ding@lists.math.uh.edu To: Chris Marusich Original-X-From: ding-owner+m36145@lists.math.uh.edu Sat Apr 07 11:08:03 2018 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048035.atla03.us.yomura.com ([107.189.48.35]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f4jpJ-0006kN-Kw for ding-account@gmane.org; Sat, 07 Apr 2018 11:08:02 +0200 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048035.atla03.us.yomura.com (Halon) with ESMTPS id 780d2742-3a43-11e8-a660-b499baabecb2; Sat, 07 Apr 2018 09:10:08 +0000 (UTC) Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.90_1) (envelope-from ) id 1f4jqf-0007jG-Hf; Sat, 07 Apr 2018 04:09:25 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1f4jqb-0007id-RG for ding@lists.math.uh.edu; Sat, 07 Apr 2018 04:09:21 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]) by mx1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1f4jqZ-0003kp-9G for ding@lists.math.uh.edu; Sat, 07 Apr 2018 04:09:21 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 40J9jm2yZXz1qtsd; Sat, 7 Apr 2018 11:09:16 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 40J9jm2gWTz1qqlD; Sat, 7 Apr 2018 11:09:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id AaDTLIj1oaTc; Sat, 7 Apr 2018 11:09:15 +0200 (CEST) X-Auth-Info: c0RzB7vUn3r+f3tISJJaBGDUF4jCXwRisku+mKRnspzP9wgn8y+9gg+eb5wF2kQq Original-Received: from localhost (ppp-188-174-145-133.dynamic.mnet-online.de [188.174.145.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 7 Apr 2018 11:09:15 +0200 (CEST) Original-Received: by localhost (Postfix, from userid 1000) id B4F882C1130; Sat, 7 Apr 2018 11:09:14 +0200 (CEST) X-Yow: A dwarf is passing out somewhere in Detroit! In-Reply-To: <87po3br1k1.fsf@gmail.com> (Chris Marusich's message of "Fri, 06 Apr 2018 23:08:30 -0700") X-Spam-Score: -2.7 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87931 Archived-At: On Apr 06 2018, Chris Marusich wrote: > This is the same as before, but I've replaced "gnucash-user" with ".*". > I expected the same result as before, but Gnus surprised me. Instead, > gnus-summary-respool-query says: > > This message would go to list.user > > and gnus-summary-respool-trace says: > > ("cc" "\\(.*\\)@gnucash.org" "list.\\1") > "list.\\1" > > In this case, why does the ".*" match "user" instead of "gnucash-user"? I think that happens because the actual regexp used for searching is "\\(\\(FIELD\\):.*\\)\\<\\(VALUE\\)\\>", note the embedded ".*". Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."