--- /dev/null
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id D95706DE01C2\r
+ for <notmuch@notmuchmail.org>; Sat, 11 Jun 2016 09:49:53 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.011\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5\r
+ tests=[AWL=-0.000, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id s3m1hhp-QBJV for <notmuch@notmuchmail.org>;\r
+ Sat, 11 Jun 2016 09:49:45 -0700 (PDT)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id D21266DE01BE\r
+ for <notmuch@notmuchmail.org>; Sat, 11 Jun 2016 09:49:44 -0700 (PDT)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1bBm6C-0005cC-4P; Sat, 11 Jun 2016 12:49:28 -0400\r
+Received: (nullmailer pid 30618 invoked by uid 1000);\r
+ Sat, 11 Jun 2016 16:49:39 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Gaute Hope <eg@gaute.vetsj.com>, Austin Clements <aclements@csail.mit.edu>\r
+Cc: notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH] WIP: regexp matching in 'subject' and 'from'\r
+In-Reply-To: <1465662533-astroid-3-6vuqm3zu54-1296@strange>\r
+References: <1465265149-7174-1-git-send-email-david@tethera.net>\r
+ <1465525688-30913-1-git-send-email-david@tethera.net>\r
+ <1465547660-astroid-0-nudmv20lbk-1296@strange>\r
+ <87a8itxpu7.fsf@zancas.localnet>\r
+ <1465662533-astroid-3-6vuqm3zu54-1296@strange>\r
+User-Agent: Notmuch/0.22+28~gb9bf3f4 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sat, 11 Jun 2016 13:49:39 -0300\r
+Message-ID: <87fusjvffg.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 11 Jun 2016 16:49:54 -0000\r
+\r
+Gaute Hope <eg@gaute.vetsj.com> writes:\r
+\r
+>\r
+> Maybe we could check if the search string contains a regexp and decide\r
+> whether to pre-process it on the background of that? I think that would\r
+> make the interface more user-friendly. You'd just always use search\r
+> whether you decide that you need to put in some regexp or not.\r
+>\r
+\r
+There are some technical limitations of the xapian query parser (and\r
+field processors in particular) that mean we'll probably have explicitly\r
+ask for regex expansion.\r
+\r
+> I would rather have double the db and be able wildcard beginning of\r
+> terms. If it is not too much maintaining overhead it might be made\r
+> optional?\r
+\r
+perhaps. If that's really your primary goal, regexp search is\r
+overkill. Maybe you should discuss with xapian upstream the possibility\r
+of having xapian support more general wildcards. I have a vague memory\r
+of olly once saying it was not out of the question. But I might be wrong\r
+about that, it's just a half-remembered IRC discussion.\r
+\r
+d\r
+\r
+\r