From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Evan Aad Newsgroups: gmane.emacs.help Subject: Lookarounds and recursion in Emacs regexes Date: Fri, 27 Jan 2023 16:11:13 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37588"; 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 Fri Jan 27 15:12:09 2023 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 1pLPSb-0009bv-Ii for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Jan 2023 15:12:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLPRx-0001Dz-FY; Fri, 27 Jan 2023 09:11:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLPRv-0001Dj-RL for help-gnu-emacs@gnu.org; Fri, 27 Jan 2023 09:11:27 -0500 Original-Received: from mail-yb1-xb30.google.com ([2607:f8b0:4864:20::b30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLPRu-0001N9-5P for help-gnu-emacs@gnu.org; Fri, 27 Jan 2023 09:11:27 -0500 Original-Received: by mail-yb1-xb30.google.com with SMTP id d8so4161772ybe.9 for ; Fri, 27 Jan 2023 06:11:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=HkuNk4L6G8GXCTs2xQZmbrm+/ZjiRaenDz6J0ICPxbQ=; b=IMbIMiDkcCHdsz9w3ffyGJ3TqnnQlc1MRnkza9yi3Yxohy0Y/nayEya4Wwmxe8YgL9 LtrErc7w/ytddSM55H7q/iisl+ModZZSweajRv2rrNNMCwOGBJ+RL2kaZ9Jir+o7a66C hCo4xPe/pHzeMivCyCKgsnOYpbxdRs8aKc+V9Y7hqKHroozcGxikVLnyaNg6IrqpcLEA WPF8szndvcBE0HCRkng3Ljv5T9BLKnXAsWFzejRc13ZItk8EdEw08Ed5auyOWrPmvTK0 4Nq8W0lER72T6N+K/m3Fs5f9GPAvsK4BCB35vBeYUK494ApPriNuchVla/1YgMgOedRi MLOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=HkuNk4L6G8GXCTs2xQZmbrm+/ZjiRaenDz6J0ICPxbQ=; b=lsMHmgOaB7RonKfRkYa28PKdSsQHsUGW3hHCq6Ex3uV8KTT8NrJYpgxo0pxhloNV5s VFlIU9J/JQVWOjizdS31XW22kacBJofC/UJN/pXhG1WnZ3MSN3/52z+ry4SmWENM1Cc+ qGKdqrgbb/UlzF9r19bxyBOBNGfWk/WjwkZFRLqa1GE4/P/nY8ZRK8T2ca76/DeDxIxx 1nnFTjDxfR2lwgOLyaCVYCjsU6Qcs6Lt/vmDbIessluSZfsqP6eASCe5at7RvZPJU98+ 8/uqZpWhl1sdzGPnYF83XKPmA4ReOyrkDg4lB/MySgMe+5/53sgnY1EyGXmUDid7JEjb p4CQ== X-Gm-Message-State: AO0yUKU/pSWaltJ9vd9CkhQB2RkaROA9FXtEvLdIxCUJv1Cz1c9Dsmp5 C/RGRuCy4QuUpz2mNgNLUamQeWg/e4NDmQDafCCOJiEZ X-Google-Smtp-Source: AK7set/qSVQHeujJTm7PFAmtvtbvGkXO+Q8MFPxSsrSlrDSTOzSjcx5Gr3I2SFA/XF5LLq2dZw3C790OZ1/W889PFoI= X-Received: by 2002:a25:18b:0:b0:80b:6a93:28f5 with SMTP id 133-20020a25018b000000b0080b6a9328f5mr1694638ybb.162.1674828684826; Fri, 27 Jan 2023 06:11:24 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::b30; envelope-from=oddeveneven@gmail.com; helo=mail-yb1-xb30.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142536 Archived-At: Are there plans to extend Emacs regexes with lookarounds? With recursion? If so, when are these enhancements expected? Other text editors, such as Notepad++, EditPad, and Sublime Text natively use regex flavors that support lookarounds and recursion. The same applies to popular programming languages such as C#, Java, Perl, and Python. Compared with platforms whose regexes support lookarounds and recursion, Emacs regexes have limited power, expressivity, and ease of use.