From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CDSlD7B3aGV73wAAauVa8A:P1 (envelope-from ) for ; Thu, 30 Nov 2023 12:53:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CDSlD7B3aGV73wAAauVa8A (envelope-from ) for ; Thu, 30 Nov 2023 12:53:20 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 09073340AC for ; Thu, 30 Nov 2023 12:53:20 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=gm+Lt65s; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701345200; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=fof/NMMKy/aeGhOPfiLsrWpcrzhD4tmyDL0tANgVZgs=; b=bQnMV2/DyXIoU42lKSkjZmT3O6BuYQCkBrk2rpxDp1DH+jHFoOruP14L10S3SqOx5iqcSD oR4kJtOvw2582ENm38s47Wvrs9HWWKjIc33MpBp1Xtkzyk0Sr5qyzia3xXwg8He4H2lGcj Yt2Md5k8KBkQUHZVKyoDGAcaVeRs7k9Nlmb7waYGmvP1mV6JKfUNVZghZF1PGZEheEvzp6 qo1gTC4umJmfb/2d+ttuV3j5zTCc+qTJY/ciXwCU46k24L3/ZnW8zBJnS7RFNPK+BzggBA HST+YY5m3JTHhDN93nIOxMpFOyGShQF91/r4EWXtjg1EGlJgBv/MgySOu+QeCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=gm+Lt65s; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701345200; a=rsa-sha256; cv=none; b=YIZNBWO9r7Wp8TvXJEdhtzpoRhMJ/iyd9JO4TujtLeM8wsXc+Pxp/kOuMS8BfdWkFpYGKl eh35liE0hntHN+dLGmB9Ork4TIGRvDkvBwR1b3RYv+PBLUKGVExkT1XN/LYqcFzKC1j1NC MrJknn7YxrxxVnffnw1D8E4kj7O2Tg54HHTtpNur4bLaapxTYcdg888LBRWCfLJUBD4nss AAISg6fXX8UoXdijdwINXWMdG+D/x4OZGOpEgXTL3YiPM4Ew7tSZNurVFwvjJj0Rgs14Bd sOTxr736cHRTolsaKhA3yqOD1pU4oeLGCW/Tc5zHKdDi5sVFlbwd64ToRI7MVQ== Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 6538560A3D; Thu, 30 Nov 2023 11:53:17 +0000 (UTC) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by mail.notmuchmail.org (Postfix) with ESMTPS id C398060A1A for ; Thu, 30 Nov 2023 11:53:14 +0000 (UTC) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a18f732dc83so51492466b.1 for ; Thu, 30 Nov 2023 03:53:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701345194; x=1701949994; darn=notmuchmail.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=UpkpUz+1h9FOnxBCGwfdiGg1jjkRXWVXyBJIH3dKRTo=; b=gm+Lt65s6z8yq+n11vXyloZ/m6OJHN/Q4ChGSrHaa1cS5H+02JFXJL6r0TjGz5nDsi QL9fGvf0IiMGpYtj4Fq0Zxgb8cxmxGszp5t5WrfqLtEVG3k4e0Af2Jw6giCrSBv3J+cN Xwwuu58ijMke3i4a+5mIcqJCFsPTCKVdEUHv/0K4mXO7G9OUeheWuQqhkrlfp6OaDsRp CBF2fOo8Jee+5GCfoRcfLMcgoAUWR8jfPh14BoRVNDYewNO1sWVnz2S5hwyhGWFyUEJq MNFpaHjyWwYbjW2LnprKxwgEJ5YFukH1fSSitUo5zXIaQ8qHFUoVU3/3HY14KRKZUxBh CWfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701345194; x=1701949994; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UpkpUz+1h9FOnxBCGwfdiGg1jjkRXWVXyBJIH3dKRTo=; b=esnedczJkRIx0iQF0PS9r57yYCBjjMZNqaXaPMBtQie/Ue1RlwA2bFAlyUBcBwRImV boZNK8FiBx897F99hvjWPg0rwutxvId67Hxcrd6Y3CZ0EfGkp5DVc8MjD86J7MKUUXCR JWagvk+5tPbrbqZUe/5LPujg2soKSA8STU5TNySn+k9mcS1F6b4gYhmVrwM+aRH2YbJt l4Vz5DDx+j5axYOm30Yepoq0cZTWgDQ/P+tjZgDCIDjvhckM/vhvVM7D+Wz6NcPtbqcA UcWqc5FPQ1jzrwz2tVY+5mnf6BI8eZ7icEI9WMQDuT9AnkmNXyLxidLCAk6qxDWXSFp8 0lyQ== X-Gm-Message-State: AOJu0Yy9vGe2na71RKX4IE86vqA3r41eWsawHrD2ZDkAyjE66jEiYtPI BYH1CN54qSAe3aYsDp9SARTJRB9waH/fq6XVoTeA7ARqhE/LGA== X-Google-Smtp-Source: AGHT+IELED2YryXSI+4eaWiOkHEMyNQjptLgKldcmcI4ruRA7SbKJOxLbiyXFORoEYimNEursIt+Oze+j7EPjwVxR+s= X-Received: by 2002:a17:906:1006:b0:a18:7350:82d with SMTP id 6-20020a170906100600b00a187350082dmr1386573ejm.16.1701345193927; Thu, 30 Nov 2023 03:53:13 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Michael J Gruber Date: Thu, 30 Nov 2023 12:53:02 +0100 Message-ID: Subject: Re: Advanced search with wildcard using notmuch for mutt To: io Message-ID-Hash: ODX2RNMZCKIVADMDWHNC6IQ3GT7FHTC3 X-Message-ID-Hash: ODX2RNMZCKIVADMDWHNC6IQ3GT7FHTC3 X-MailFrom: michaeljgruber@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: notmuch@notmuchmail.org X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============5275017244379334086==" X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE X-Migadu-Queue-Id: 09073340AC X-Spam-Score: -1.37 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -1.37 X-TUID: tirzchDvrEGZ --===============5275017244379334086== Content-Type: multipart/alternative; boundary="000000000000eca74d060b5d4b10" --000000000000eca74d060b5d4b10 Content-Type: text/plain; charset="UTF-8" Am Do., 30. Nov. 2023 um 12:37 Uhr schrieb io : > > > > i have an html email with this sentence 'xycfe11cg64d_2501034012' within > the body of the message. > no result found when i search for '2501034012' > i have even tried using '*2501034012*' (wildcard) > > Notmuch doesn't support regular expressions ("wildcards") when searching the body of messages, see the man page for `notmuch-search-terms`. It computes stems of words and indexes (and searches) those. Using xapian commands, one could extract all stems and grep those for a term which one "remembers partially" (often happened to me), and then feed that into notmuch. Might be worthwhile scripting or even integrating into notmuch (sexp?). Michael --000000000000eca74d060b5d4b10 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
Am Do., 30. Nov. 2023 um 12:37=C2=A0U= hr schrieb io <io@ooeeeoo.com>:=



i have an html email with this sentence 'xycfe11cg64d_2501034012' w= ithin the body of the message.
no result found when i search for '2501034012'
i have even tried using '*2501034012*' (wildcard)

Notmuch doesn't support regular expressions ("wildcards&qu= ot;) when searching the body of messages, see the man page=C2=A0 for `notmu= ch-search-terms`. It computes stems of words and indexes (and searches) tho= se.

Using xapian commands, one could extract all s= tems and grep those for a term which one "remembers partially" (o= ften happened to me), and then feed that into notmuch. Might be worthwhile = scripting or even integrating into notmuch (sexp?).

Michael
--000000000000eca74d060b5d4b10-- --===============5275017244379334086== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============5275017244379334086==--