From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: jan via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#41006: 26.3; regular expressions documentation Date: Sun, 3 May 2020 15:00:43 +0100 Message-ID: References: <64E29F93-5A92-4F8D-9BA2-C6F14AEC2F64@acm.org> Reply-To: jan Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="130389"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Richard Stallman , 41006@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 03 16:02:10 2020 Return-path: Envelope-to: geb-bug-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 1jVFC6-000Xoo-DU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 May 2020 16:02:10 +0200 Original-Received: from localhost ([::1]:37496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVFC5-0001DZ-F4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 May 2020 10:02:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVFBy-0001DS-Dg for bug-gnu-emacs@gnu.org; Sun, 03 May 2020 10:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVFBy-0003My-4M for bug-gnu-emacs@gnu.org; Sun, 03 May 2020 10:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVFBy-0001Vh-28 for bug-gnu-emacs@gnu.org; Sun, 03 May 2020 10:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: jan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 May 2020 14:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41006 X-GNU-PR-Package: emacs Original-Received: via spool by 41006-submit@debbugs.gnu.org id=B41006.15885144655739 (code B ref 41006); Sun, 03 May 2020 14:02:02 +0000 Original-Received: (at 41006) by debbugs.gnu.org; 3 May 2020 14:01:05 +0000 Original-Received: from localhost ([127.0.0.1]:57497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVFB3-0001UV-93 for submit@debbugs.gnu.org; Sun, 03 May 2020 10:01:05 -0400 Original-Received: from mail-pg1-f172.google.com ([209.85.215.172]:41816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVFAo-0001Tg-5n for 41006@debbugs.gnu.org; Sun, 03 May 2020 10:01:03 -0400 Original-Received: by mail-pg1-f172.google.com with SMTP id o18so2005693pgg.8 for <41006@debbugs.gnu.org>; Sun, 03 May 2020 07:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=WpIaDermcT4qIAx1OSyuoB/T4aqu2KbOWVitOYXcizo=; b=iDnAZd8iO9su9M0HkMbxPU+poovuNdEirAgJjOWtx+CWn5LIkOXXnd7xlK1Ik+7vME fEz4dLikTHvHvlXQ/H3IN8pTiIBPP92W2kJbucX62qLB6IdWKEm1imDWDP/F/Ba9zIFn F0xwo78vtCJKqRsjVM2p8MA9d4Go6NMYZk2MfSHJdvTq4iW74GU98ayo/F/49yCd8rTS RDsfxGQrgJk53TrOUgljHBbpuZLw/bLaFVKEiqBtkb2V6B9ppmPxQBurQ9XFYkMcHB2j 47+8A4Z2nWS6k/+d2vDBl/bv///TV7HJGvRB+CY0fQCLQbw79a7xUiuRQwu/wcudv4Ch AQSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=WpIaDermcT4qIAx1OSyuoB/T4aqu2KbOWVitOYXcizo=; b=ekMCL6A2O09WZzuulCF3v2PkAoIxgFLqwLxJWMFBgwOF/xBSphnWbYjmr+yW2hQmJz wjbzqFo9+YAd+3B/5AUXopkm/fjMp0/BybMb6WUz6YOsjuUBue67ySb5KH+L3FvxBHMZ Mi6Z0M+n7YBJsDunYr0xnU3hhsNlyxUzoPKqa3zqgxVKU7lw7UfaYF8XOv3S9wcFeXyo dXdXqRN9SF49nhfZY8MJ2asazqvsdRV0Zu3xr3AI16fVh0R5uZ7tfqpaheFZimmTi2FX EvuexcmaN+iQDAl4Vc/dFrByP47ebPZ8u1MwWuoPGoeHm0ea6JOYXcBvRZGpJXwObqy3 +uNg== X-Gm-Message-State: AGi0PuaNqlmMtvGmelWjX5TdFjmur1X1URbhDkAOczeAx8y8kZZO2KpH 2cg5dGI/O6p2h3qEphBSvF8Hph7e/t8YUNexRi4= X-Google-Smtp-Source: APiQypJgrdHSILKXr16wVdHwqiGDOfUY4ACwBDXi+Akze5rHd6JimG1Xltmdh/Ta9lRLGavNvOOnDFyrU92j/B57cX4= X-Received: by 2002:a62:3303:: with SMTP id z3mr12240446pfz.88.1588514444125; Sun, 03 May 2020 07:00:44 -0700 (PDT) Original-Received: by 2002:a17:90a:9a86:0:0:0:0 with HTTP; Sun, 3 May 2020 07:00:43 -0700 (PDT) In-Reply-To: <64E29F93-5A92-4F8D-9BA2-C6F14AEC2F64@acm.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179582 Archived-At: > Currently it's arranged by syntax, which is the implementor's view, rathe= r than by function, which is the user's. Nicely put. > The manual does say > > =E2=80=98\{M,N\}=E2=80=99 > [...] If M is omitted, the minimum is 0; if N is omitted, there is n= o > maximum. I did install 26.3 to make sure, and I've checked again and I genuinely can't see that, but if it does, sorted, thanks. The \=3D I'm sure is great, I just don't know where it might be useful. Some examples might be of help however the manual isn't the place for them. The value of other anchors is obvious, I've used them all IIRC. Thank you all. jan On 03/05/2020, Mattias Engdeg=C3=A5rd wrote: > The disposition of the regexp documentation could be improved, yes. > Currently it's arranged by syntax, which is the implementor's view, rathe= r > than by function, which is the user's. Condensing related text into a sin= gle > page would help. (Cf. the more recently written section on rx in Emacs 27= .) > > The manual does say > > =E2=80=98\{M,N\}=E2=80=99 > [...] If M is omitted, the minimum is 0; if N is omitted, there is n= o > maximum. > > so you may be mistaken on that point. > > The \=3D anchor is probably less frequently used than the other zero-widt= h > assertions such as $, \< etc but does come in handy occasionally. It's th= ere > in case you need it. > >