[Top][All Lists]

[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*.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]