From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Leo Butler Newsgroups: gmane.emacs.help Subject: Re: Making a regex string that matches ( Date: Thu, 10 Mar 2022 09:13:20 -0600 Message-ID: <87ilslvo1b.fsf@t14.reltub.ca> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34994"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: angelomolina@tutanota.com To: angelomolina--- via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 10 16:47:55 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 1nSL19-0008rH-66 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Mar 2022 16:47:55 +0100 Original-Received: from localhost ([::1]:41800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSL17-0007ih-OP for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Mar 2022 10:47:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSKmM-00030P-G8 for help-gnu-emacs@gnu.org; Thu, 10 Mar 2022 10:32:38 -0500 Original-Received: from mail-eopbgr660116.outbound.protection.outlook.com ([40.107.66.116]:36256 helo=CAN01-QB1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSKmK-0003es-CE for help-gnu-emacs@gnu.org; Thu, 10 Mar 2022 10:32:38 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OgSp0K3UY6Tt+PkyIRgE+nSyqqx1i5HCDXkBny6TMTUKIW0obzSkwloJb8Li8q4R065aev3vyUxm5jQ27PTZMxqXRK9hU30sALqSoZpD//UsBsOzqiEjFu2H3rqyeIP6M8+wGSQXPxqjQTZaV8GsVXc4WQ1tgiMp42nJhfeyZNm4irWWnuUGb3lbxj9jSuo1Rwu5pNRFOlr7MaVxQjB+/wrllWzaFXZHe6VapF50llzKGNLKDIuYrnCY33yb6qGFfGkbZndotd6MAMVWfimvK2VlaS6w7QvFPKTdgd4VL4E6WSulKgqf5lq08f0wSWpGWlTN1COgucgQNPbEmWB+HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jGf/sYt9zkZH2S1ajYgvP3DCR99HOWkflznqLsYHfJU=; b=TylK/NaYPLJBFrmf32vREZjrYfjxR/9op9V2Nlj2zEloR07l8RDeDjhAGZKjODCOz8zAx+6CVhNptY4UU/05dO2IFjefDAB8M+IAQJUIiuRbAgtJMlr400E/wEA27Yl8E/n0wtyluHPxbOhxuG12T5hN2XdVie14w12M+rZ9QOwEySefY+vYp4dF/HGcfL0WCzRkOTTrZViBIM4sDxQ9QtN2uyi5DG+0KglRCTyHNXONqh7+pp6orJJzmEkkK6zMFY+Iu/YnQKHu9x1jsEB82PnyArpa/Yr7U1vWYx1Am/MMTdzliYd+w9gEKdHnhGfAGc7PJra9y1x0TIkITKB8kQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=umanitoba.ca; dmarc=pass action=none header.from=umanitoba.ca; dkim=pass header.d=umanitoba.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umanitoba.onmicrosoft.com; s=selector2-umanitoba-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jGf/sYt9zkZH2S1ajYgvP3DCR99HOWkflznqLsYHfJU=; b=FRgA4IvXz73FG8QVHhQ68w8zrWyUp14OVR7rpBeOnwid5Ibi06/qegMkxDK4ZInVjnOq52dtCBAxTd2vsH8puIXX0yscZQimtWDbiE7FMu6v9FbePb4CPRYph8AVzA3nI7dRGFEDXl75EKC5Ux/WiV0zL1uZ6xq80IU/ozYpHTM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=umanitoba.ca; Original-Received: from YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:90::5) by YT3PR01MB8401.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:9b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Thu, 10 Mar 2022 15:13:25 +0000 Original-Received: from YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM ([fe80::f8a8:ecf6:afec:c8fe]) by YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM ([fe80::f8a8:ecf6:afec:c8fe%2]) with mapi id 15.20.5038.027; Thu, 10 Mar 2022 15:13:25 +0000 In-Reply-To: (angelomolina's message of "Thu, 10 Mar 2022 14:36:14 +0100 (CET)") X-ClientProxiedBy: MWHPR07CA0005.namprd07.prod.outlook.com (2603:10b6:300:116::15) To YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:90::5) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5340c12a-02cf-40ee-30ca-08da02a885ed X-MS-TrafficTypeDiagnostic: YT3PR01MB8401:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VuqygiTo3pEV+7potvcxsEuWofgmYnBEmmMEAwvUiWGkola8+P7BfNIjvetG9Zm1H9iGBMgwUdH4KILTfVVSjjMdF1Fd+/X2xkceVtW7jnNsN90ZjWT3PZP+VGJmSRK0BvlBVc/IagVOaLR9aHUR98QHsDpbmzaoFJwDmn32vI+LcZbXaNpLjP3Kr4klHt4LXEAEL9ZWXhZAshZ9Hw6OfCJIOUVOBrdrwHMTJBSykwYi2JjoS340aa4abSDaU5w/A35ry5A7GwVDtBsxua4OO41VYCAokYA5AFY39/45QP27IAqSSkVFPIlBK6V5Ezmh5IXYD0lvnT9HRKk+zr6PErT0GluOxlwM68PeRASzhXQiXh22BcPQ49bWElDajhWbIjCWFqFH/IJ4MSqkA//V/QjA24NZ3zgXCuvNnqN+iHTboUHhT/QG+X3m5s9F9K3ngas2nBMflAmrfO1ePEh09uXX4FZrhL2RzTwXafD5HOln3C1a/WRt9jWtWnbQR6mXkgxbWDCOMEZVEidRCMg7T8oTwOAjzdwAQ2zn9jbG377c3+ULyDoARXwPAkjmZeAsGkjZNiVCfbyfKv4ZNbFT2Vsf3ZQrycjtVutzewron8Ng1jU6EPI5CbJw+WH4BoE1cskniGww7mPoQ67+GRnHuIkv2KPj+z/DbxJjq6bgyhgHvbyor9ub7EfPN54AYEwI X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(366004)(83380400001)(786003)(6486002)(2906002)(508600001)(6506007)(6666004)(4744005)(44832011)(52116002)(5660300002)(186003)(8936002)(26005)(38350700002)(6512007)(38100700002)(86362001)(66946007)(66556008)(66476007)(8676002)(4326008)(9686003)(6916009)(316002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?LtRyAD9RJeris4FG+XSAS/mp/uI7lym+/R46yTAnK/6+WE11fO+uv6F1nSQu?= =?us-ascii?Q?q7QyJ4y1BmlP2f1MNgwghYbZKvKzHQf9iqVH1UJNelTtpaMYRtYeCjqzcXC3?= =?us-ascii?Q?viXtJ8HjE3QPT1B47Hhsl7OUzfiGM8UII/+Fj9BqfVUKKmDJj+RMwtxfzIzH?= =?us-ascii?Q?PaTwJGx5Cd4a+bUfwsPUdn4AJZ3GUdZzLU1ugcVAQx26CWoHD3ymV3h3JGPo?= =?us-ascii?Q?wi/k9kkenlSTLfjS/2MmkOwty2HX5PwlqU/p/uvShIoN3RVNE1KeSnMZ26TN?= =?us-ascii?Q?VuTfJY9Z6MZdLpe0vsJFajwVwLT2Qrch3R6FP5WqGASGSAefjETlIQL3mMFG?= =?us-ascii?Q?y7Gsbg4bF8+5RqhjYcuf5wSYlem6zoxWSonWaxYvU1qNE+L0kLw7arF5JtU1?= =?us-ascii?Q?jCKz0OpWwZEWH4n7EIHsfqaZiZTg1dqX2j7wOfJzC4akpzzj2RxhuDo+PNYK?= =?us-ascii?Q?qv5D4RyU0n+GqowPbUtNZOtlGNQBzv6w28RinomX7SIY3JQaM5EoNkGyBeBB?= =?us-ascii?Q?qjACyIGCiOyOigsCa+zBEzAPFmgayy5BZ4sFgY+IErOoewCIxMj4ttFkjP7q?= =?us-ascii?Q?wFF9jX4Io3iubTCCUcDhjTWBDPdsN1qr5AXBs4SrB/VW2nZUipesxXpgJZ0r?= =?us-ascii?Q?Ml X-OriginatorOrg: umanitoba.ca X-MS-Exchange-CrossTenant-Network-Message-Id: 5340c12a-02cf-40ee-30ca-08da02a885ed X-MS-Exchange-CrossTenant-AuthSource: YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2022 15:13:25.1647 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4f80dd0b-338c-4e4c-8a14-90446962f7b8 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JQbgPQB2XxD/MoyaU79uD+ju0DWvTRJypm5l9OlGitLz7rkr1+hUKgnggSb0SZ/EHnqeB+FmXP/UeStjYogFXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT3PR01MB8401 Received-SPF: pass client-ip=40.107.66.116; envelope-from=Leo.Butler@umanitoba.ca; helo=CAN01-QB1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 10 Mar 2022 10:46:40 -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:136429 Archived-At: angelomolina--- via Users list for the GNU Emacs text editor writes: > How can I make a regex string if I want to search for (. For interactive use, the key sequence (C=Control, M=Alt/Mod): C-M s ( For programmatic use, you can use M-x regexp-builder RET to start up regexp-builder which will let you build regexps interactively and show the matches in the buffer where you were working. You will see that "(" works. C-c C-q deletes the *RE-Builder* window that was created (the buffer remains, so you can re-use it). ----- Btw, I noticed that regexp-builder is part of GNU Emacs, but there is no documentation in the manual. The only documentation is found by looking at the docstring of the function. Leo