[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ugly regexps
From: |
Stefan Kangas |
Subject: |
Re: Ugly regexps |
Date: |
Wed, 3 Mar 2021 08:11:54 -0600 |
Helmut Eller <eller.helmut@gmail.com> writes:
>> (string-match (ere "\\(def(macro|un|subst) .{1,}"))
>
> Better call it (rx (ere STRING)). Namespace pollution may not be
> prohibited by the law but mother Emacs may thank you anyway :-)
FWIW, I'd strongly prefer `ere'.
Some of us will be using this macro *a lot*.
- Re: Ugly regexps, (continued)
- Re: Ugly regexps, Dmitry Gutov, 2021/03/04
- Re: Ugly regexps, tomas, 2021/03/04
- Re: Ugly regexps, Dmitry Gutov, 2021/03/04
- Re: Ugly regexps, Richard Stallman, 2021/03/05
- Re: Ugly regexps, Dmitry Gutov, 2021/03/05
- Re: Ugly regexps, Richard Stallman, 2021/03/06
- Re: Ugly regexps, Dmitry Gutov, 2021/03/04
- Re: Ugly regexps, Eli Zaretskii, 2021/03/04
- RE: [External] : Re: Ugly regexps, Drew Adams, 2021/03/03
Re: Ugly regexps, Helmut Eller, 2021/03/03
Re: Ugly regexps, Dmitry Gutov, 2021/03/03
Re: Ugly regexps, Lars Ingebrigtsen, 2021/03/03