From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id ACB826DE0F27 for ; Mon, 11 Mar 2019 02:46:05 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.012 X-Spam-Level: X-Spam-Status: No, score=-0.012 tagged_above=-999 required=5 tests=[AWL=-0.011, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KoIFcmTv7lEz for ; Mon, 11 Mar 2019 02:46:04 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 8D7CF6DE0AB2 for ; Mon, 11 Mar 2019 02:46:04 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1h3HVR-0005v9-8T; Mon, 11 Mar 2019 05:46:01 -0400 Received: (nullmailer pid 2874 invoked by uid 1000); Mon, 11 Mar 2019 09:46:00 -0000 From: David Bremner To: Gregor Zattler Cc: notmuch@notmuchmail.org Subject: Re: how to search for hyphenated words? (was: how to search for Morse code?) In-Reply-To: <877ed5bzr3.fsf@len.workgroup> References: <87muui87om.fsf@len.workgroup> <87ef7hyxqs.fsf@len.workgroup> <87a7i2e2ms.fsf@tethera.net> <877ed5bzr3.fsf@len.workgroup> Date: Mon, 11 Mar 2019 06:46:00 -0300 Message-ID: <8736nteobr.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2019 09:46:05 -0000 Gregor Zattler writes: > Hi David, notmuch developers, > * David Bremner [2019-03-10; 20:22]: >> Gregor Zattler writes: >>> How would one search for hyphenated words with notmuch? >>> >> >> In special cases, explained in notmuch-search-terms(7), one can use >> regexp searches, which are slower, but don't drop punctuation. > > thanks, this works for the subject: field, which helps a lot. > > Regexes do not work on the body of messages and I assume they > will not work with the upcoming "body:" field? That's correct. d