From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Making a regex string that matches ( Date: Thu, 10 Mar 2022 16:51:00 +0100 Message-ID: <87tuc5g61n.fsf@gmail.com> References: <87y21hzxbs.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8764"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 10 16:58:24 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nSLBH-00026F-JV for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Mar 2022 16:58:23 +0100 Original-Received: from localhost ([::1]:56056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSLBG-0000mN-9y for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Mar 2022 10:58:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSL4D-0002Kw-LI for help-gnu-emacs@gnu.org; Thu, 10 Mar 2022 10:51:06 -0500 Original-Received: from [2a00:1450:4864:20::436] (port=33524 helo=mail-wr1-x436.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSL4C-0006nY-1R for help-gnu-emacs@gnu.org; Thu, 10 Mar 2022 10:51:05 -0500 Original-Received: by mail-wr1-x436.google.com with SMTP id j17so8736871wrc.0 for ; Thu, 10 Mar 2022 07:51:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=br+Xh3jCSRO0RaxMozoq5sfP9yVNVqSarad4SlTbr9U=; b=VrTguqjKEW+lRewY51zZtBZXUF/JHcpQYqg4ClrIDqbBykfIPHj4tiARmTlTY2x94/ nDVrgwO88X7tp3SK2j9Pkx6HM6H/TnDRPTFJnNe8+lYdOculTsscBZ98uivyq2r/CGGw moOYrURWC141yUdFqldp2u/xlJleolkshldQhgikc1x1v1DpPbinXtoR6/gPlFukgn3/ l13O+UQOswrasJgCtlWnCLL/VmyWOiPA/ehUDvslalxvr2EbYJTW1M3wZtJLFEtWT4w7 3uzAoDd/UsEeDnvDHDOfCPEv54Zkip//KbGZf8NlwQ0p6ER6dWiZF8/YQEz0JGsh/fZ4 YTJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=br+Xh3jCSRO0RaxMozoq5sfP9yVNVqSarad4SlTbr9U=; b=WPJTCle3tdw6fOGZepk8RUE9EhBzdjwyI+nJvGolIpjac+s4wTkDRDm4bwjCptoNOu RSb5nekIVaAA4LuhUHmieNOL1OAGaJab+nvdUKBW3AStsNdm3NazXYNahsJPmSI+paP8 o2fbyDW3SG1jrjzleH3wQCP4nrmH5pOvjLZTho1ObUZeVUwMBU+lIIJmSccCNCho2YEo ryK0zuvx+9fWPtKNEuoRYOIfMSxX7eEtCvBC9/tq+u3i8NX4n3wD23lzLH5DMG/SV0P6 JeHzg1rAIuvjr4kHS0clrJ6WrQQgaMWuTZlQgMAneIyBWkA1WgJOf944b8tfc2xcOv94 8xtw== X-Gm-Message-State: AOAM530h0sJWMz9mESVOkgAY7QDA7YOuqz40KV4wyvNLV3fIR1iDk5sQ +HKvm2HiNjWN3AfiCE2v8q/HyDyvN5w= X-Google-Smtp-Source: ABdhPJxovsatPqXlZNWnHopdcPRAn8hyork3Tp2Ox1a+gl3p4JZVCBwSAPNH6qlS4I2sPsQZp+UFUA== X-Received: by 2002:adf:8b58:0:b0:1f0:241e:9b51 with SMTP id v24-20020adf8b58000000b001f0241e9b51mr3941662wra.539.1646927461674; Thu, 10 Mar 2022 07:51:01 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:bdb9:95f1:63f4:9a7a]) by smtp.gmail.com with ESMTPSA id n7-20020a05600c3b8700b00389a6241669sm9098192wms.33.2022.03.10.07.51.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 07:51:01 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <87y21hzxbs.fsf@zoho.eu> (Emanuel Berg via Users list for the's message of "Thu, 10 Mar 2022 15:39:03 +0100") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::436 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=rpluim@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 10 Mar 2022 10:56:04 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136430 Archived-At: >>>>> On Thu, 10 Mar 2022 15:39:03 +0100, Emanuel Berg via Users list for t= he GNU Emacs text editor said: Emanuel> angelomolina--- via Users list for the GNU Emacs text editor w= rote: >> How can I make a regex string if I want to search for (. Emanuel> Uhm ... how much is a 50=C2=A2 stamp? Emanuel> (re-search-forward "(") And since you=CA=BCre searching for a literal '(', you can use `search-forward'. Robert --=20