* bug#43429: [PATCH] * etc/refcards/refcard.tex: Fix some grouping regexps
@ 2020-09-15 17:06 tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-17 15:15 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-09-15 17:06 UTC (permalink / raw)
To: 43429
[-- Attachment #1: Type: text/plain, Size: 129 bytes --]
Hi,
I noticed refcard.tex says wrong explanation for shy grouping and
explicit numbered grouping. So I made a patch.
--
tsuucat
[-- Attachment #2: 0001-etc-refcards-refcard.tex-Fix-some-grouping-regexps.patch --]
[-- Type: application/octet-stream, Size: 1028 bytes --]
From b62e89bd5fe8997bef950131bc79ec9760d03315 Mon Sep 17 00:00:00 2001
From: Masahiro Nakamura <tsuucat@icloud.com>
Date: Tue, 15 Sep 2020 16:06:17 +0900
Subject: [PATCH] * etc/refcards/refcard.tex: Fix some grouping regexps
---
etc/refcards/refcard.tex | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/refcards/refcard.tex b/etc/refcards/refcard.tex
index afae238c78..c8f07540e5 100644
--- a/etc/refcards/refcard.tex
+++ b/etc/refcards/refcard.tex
@@ -562,8 +562,8 @@ \section{Regular Expressions}
\key{quote regular expression special character {\it c\/}}{\\{\it c}}
\key{alternative (``or'')}{\\|}
\key{grouping}{\\( {\rm$\ldots$} \\)}
-\key{shy grouping}{\\(:? {\rm$\ldots$} \\)}
-\key{explicit numbered grouping}{\\(:NUM {\rm$\ldots$} \\)}
+\key{shy grouping}{\\(?: {\rm$\ldots$} \\)}
+\key{explicit numbered grouping}{\\(?NUM: {\rm$\ldots$} \\)}
\key{same text as {\it n\/}th group}{\\{\it n}}
\key{at word break}{\\b}
\key{not at word break}{\\B}
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#43429: [PATCH] * etc/refcards/refcard.tex: Fix some grouping regexps
2020-09-15 17:06 bug#43429: [PATCH] * etc/refcards/refcard.tex: Fix some grouping regexps tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2020-09-17 15:15 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-09-17 15:15 UTC (permalink / raw)
To: tsuucat; +Cc: 43429
tsuucat <tsuucat@icloud.com> writes:
> I noticed refcard.tex says wrong explanation for shy grouping and
> explicit numbered grouping. So I made a patch.
Thanks; applied to Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-17 15:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-15 17:06 bug#43429: [PATCH] * etc/refcards/refcard.tex: Fix some grouping regexps tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-17 15:15 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).