[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scan of regexps in Emacs (March 17)
From: |
Richard Stallman |
Subject: |
Re: Scan of regexps in Emacs (March 17) |
Date: |
Wed, 20 Mar 2019 22:07:01 -0400 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> [ I wish Elisp regexps just used \ as an escape char in ranges instead
> of relying on those special convention of where `-` and `]` can appear
> in order to count as themselves. ]
It might have been better, but we can't change it. Even when first
implementing this in Emacs, I was following historical practice which
was later codified into standards.
> I wonder why the doc doesn't just say that `-` should be the last
> character and not mention the other possibilities which just make the
> rule unnecessarily complex.
It could be reasonable to document that putting it at the beginning or
the end is the right way.
--
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
- Re: Scan of regexps in Emacs (March 17), (continued)
- Re: Scan of regexps in Emacs (March 17), Paul Eggert, 2019/03/19
- Re: Scan of regexps in Emacs (March 17), Stefan Monnier, 2019/03/19
- Re: Scan of regexps in Emacs (March 17), Paul Eggert, 2019/03/20
- RE: Scan of regexps in Emacs (March 17), Drew Adams, 2019/03/20
- Re: Scan of regexps in Emacs (March 17), Paul Eggert, 2019/03/20
- Re: Scan of regexps in Emacs (March 17), Eli Zaretskii, 2019/03/20
- RE: Scan of regexps in Emacs (March 17), Drew Adams, 2019/03/21
- Re: Scan of regexps in Emacs (March 17), Eli Zaretskii, 2019/03/21
- Re: Scan of regexps in Emacs (March 17), Stefan Monnier, 2019/03/20
- Re: Scan of regexps in Emacs (March 17), Mattias Engdegård, 2019/03/21
- Re: Scan of regexps in Emacs (March 17),
Richard Stallman <=
- Re: Scan of regexps in Emacs (March 17), Stephen Leake, 2019/03/22
- Re: Scan of regexps in Emacs (March 17), Mattias Engdegård, 2019/03/22
- Re: Scan of regexps in Emacs (March 17), Stefan Monnier, 2019/03/22
- Re: Scan of regexps in Emacs (March 17), Mattias Engdegård, 2019/03/20