[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rx of (any SET...)

From: Michael Heerdegen
Subject: Re: rx of (any SET...)
Date: Wed, 17 Aug 2022 23:37:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Heerdegen <> writes:

> | (regexp EXPR) Match the string regexp from evaluating EXPR at run time.
> That's exactly what you are looking for...correct?

But ok, you have a string that contains a list of chars, so I too have
no better idea than

  (rx (regexp (concat "[^" (bound-and-true-p mm-7bit-chars) "]")))

or to use the function instead:

  (rx-to-string `(not (any ,@mm-7bit-chars)))

What makes sense depends on the context.


reply via email to

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