[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rx of (any SET...)
From: |
Michael Albinus |
Subject: |
Re: rx of (any SET...) |
Date: |
Thu, 18 Aug 2022 11:44:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Harald Jörg <haj@posteo.de> writes:
Hi Harald,
> I found that variables can be included in rx forms with some form of
> eval, or by using rx-to-string, which is a function and not a macro.
>
> With the value of mm-7bit-chars at macro expansion time:
> (rx (eval `(not (any ,mm-7bit-chars))))
>
> With the value of mm-7bit-chars at runtime:
> (eval `(rx (not (any ,mm-7bit-chars))))
> (rx-to-string `(not (any ,mm-7bit-chars)))
Thanks, that does the trick!
> Cheers,
> haj
Best regards, Michael.