[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ugly regexps
From: |
Eli Zaretskii |
Subject: |
Re: Ugly regexps |
Date: |
Wed, 03 Mar 2021 21:21:15 +0200 |
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Wed, 3 Mar 2021 12:46:47 -0600
> Cc: emacs-devel@gnu.org
>
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
> >> Why would someone find rx unpalatable?
> >
> > Maybe just because of habit, but I think the main downside of `rx` is
> > that it's very verbose, which ends up hiding the "text". For example in
> >
> > (rx "(def" (or "macro" "un" "subst")))
> >
> > I find the `or` to get a bit in the way of my visual cortex recognizing
> > the "defmacro" pattern above.
>
> It is also just another thing to learn.
And ERE isn't?
- Re: Ugly regexps, (continued)
- Re: Ugly regexps, Stefan Kangas, 2021/03/02
- Re: Ugly regexps, Eli Zaretskii, 2021/03/03
- Re: Ugly regexps, Stefan Monnier, 2021/03/03
- Re: Ugly regexps, Eli Zaretskii, 2021/03/03
- Re: Ugly regexps, Stefan Monnier, 2021/03/03
- Re: Ugly regexps, Stefan Kangas, 2021/03/03
- Re: Ugly regexps,
Eli Zaretskii <=
- Re: Ugly regexps, Stefan Kangas, 2021/03/03
- Re: Ugly regexps, Stefan Kangas, 2021/03/03
- Re: Ugly regexps, Stefan Kangas, 2021/03/03
- Re: Ugly regexps, Dmitry Gutov, 2021/03/03
- RE: [External] : Re: Ugly regexps, Drew Adams, 2021/03/03
- RE: [External] : Re: Ugly regexps, Stefan Kangas, 2021/03/03
- RE: [External] : Re: Ugly regexps, Drew Adams, 2021/03/03
- Re: [External] : Re: Ugly regexps, Stefan Monnier, 2021/03/03
- Re: [External] : Re: Ugly regexps, Stefan Monnier, 2021/03/03
- Re: Ugly regexps, Eli Zaretskii, 2021/03/04