From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id C27461F910 for ; Mon, 31 Oct 2022 07:47:07 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KwCnYnIJ"; dkim-atps=neutral Received: by mail-pg1-x532.google.com with SMTP id 128so10030416pga.1 for ; Mon, 31 Oct 2022 00:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Za3jH/FM63sB9zvhNftol4vWmHtNht8D5t9f+kcG3Fw=; b=KwCnYnIJMgzuKQBLUlCJZj0+1UVcbmljj7aS7t5KiaRpHIIW/gh0osfgXdR1Rrvvix sTf9tSMfYVFIPGJRmjFFKvl0xsvv72qrjOlg/LqU6IYYcS0OPqoUimlOpOqeXwS2uT1A 7EU41Ox2UYH5zg2C7kE1/yEqzHdAqBeRv5LP1wHRu9ZRUfgAdjSmTnKPk5AYZEl/nEBk uEO7y+hrwIiUf758TdESVX7zY7wQe4uT6qrwIYkDTCYhvXi6v+2UGmIzXSD1PsIiTkMM acbVeT7WOKFiOeV9dThq2CRjBc4hw0mP0oiHDQPMSq/KdT7x4+FxzcqQ8UB9T2cm3jcL 8Kbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Za3jH/FM63sB9zvhNftol4vWmHtNht8D5t9f+kcG3Fw=; b=D0BywoSwJ1MaHNbkXf5AgqGptoKy3C76zBK9DKhIB7TjtTklxHpH8oixXtVi+nLJUH tHZuutqkDc8km/oxRlE5u3ctUwNXJLI+irxT1bH7Gcn7sD0hSvQu4Wb1KAqTfLPsOt75 hm71aWKaQPTjNtE3R5wvsy0iQEYSpwFsB/GDw8W74faxsePQB+GtZFJUO+UpQxIj4yMm nitKhobIm3c/ETWs6aTBRJo4NjMw8kEw4Ky+gbnTyP5nN6sak/cVl+LR0t4AZSvwx8VI Y9XvPwDHnug6gggznRKs2vYybnCBrr1O83bobmzOZO6rlS34dZ3GXOi7Me9UB1a64J3g ZCZg== X-Gm-Message-State: ACrzQf22Fea/7QH3XwoXlkTemx15QOvP+dz5TohH4HN4hxsbxhvEn5uW PFdWWGtxdCM6HZVz2TkLErombPnDhB1Z/A== X-Google-Smtp-Source: AMsMyM7qG30yH1K0UvRGn3C4ml1nbXVeLPRgzuSMIs5paLj6IQAr5yxv5GCRahMx6e7pgv8k6E5m1A== X-Received: by 2002:a05:6a00:1884:b0:56c:636a:d554 with SMTP id x4-20020a056a00188400b0056c636ad554mr13103696pfh.18.1667202426891; Mon, 31 Oct 2022 00:47:06 -0700 (PDT) Received: from Laptop-X1 ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id b16-20020a170902e95000b00178b06fea7asm3813522pll.148.2022.10.31.00.47.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 00:47:06 -0700 (PDT) Date: Mon, 31 Oct 2022 15:47:01 +0800 From: Hangbin Liu To: Eric Wong Cc: meta@public-inbox.org Subject: Re: [Need Help] lei add quotes at the search Message-ID: References: <20221030051333.M329162@dcvr> <20221030230631.GB24949@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221030230631.GB24949@dcvr> List-Id: On Sun, Oct 30, 2022 at 11:06:31PM +0000, Eric Wong wrote: > > If I add "\" on each "(", this will break to a very long config search. > > I tried to adjust it to > > I think that can work if lei.internal.rawstr is set in the > config to indicate stdin was used (It's auto-set by --stdin). OH, BTW, I will get error fatal: bad config line 4 in file [..snip..]/lei.saved-search if adding '\' in the config file. > I guess it also works if it's the only lei.q config entry > and the lei.q entry contains "\n" But with "\n" in the config file. My previous config will works fine. > > cf. https://public-inbox.org/meta/20211110102837.41721-1-e@80x24.org/ Thanks Hangbin