[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52558: Option for easier typing of regexps
From: |
Lars Ingebrigtsen |
Subject: |
bug#52558: Option for easier typing of regexps |
Date: |
Sun, 19 Dec 2021 12:56:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
ndame <laszlomail@protonmail.com> writes:
> I use query replace regexp a lot, as I imagine other people do, and I
> always found that typing capturing groups and alternation is clumsy,
> because they have to be escaped, and they are the ones needed
> most often: \(...\) \|
>
> There could be a user option to make these easier to type by providing
> a variable which controls which characters need escaping in
> interactive mode, so the user could list those characters for which
> the escaping rules are reversed when typing in the regexp replace
> prompt.
I think it would be really confusing to have a different regexp syntax
when prompting interactively to when you're writing code, so I don't
think this would be a good idea. Anybody else have a different opinion?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#52558: Option for easier typing of regexps, ndame, 2021/12/16
- bug#52558: Option for easier typing of regexps, Phil Sainty, 2021/12/17
- bug#52558: Option for easier typing of regexps, Richard Stallman, 2021/12/17
- bug#52558: Option for easier typing of regexps,
Lars Ingebrigtsen <=
- bug#52558: Option for easier typing of regexps, Michael Heerdegen, 2021/12/19
- bug#52558: Option for easier typing of regexps, Richard Stallman, 2021/12/19
- bug#52558: Option for easier typing of regexps, Jim Porter, 2021/12/20
- bug#52558: Option for easier typing of regexps, Juri Linkov, 2021/12/19