[Top][All Lists]

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

Re: rx.el sexp regexp syntax

From: Stefan Monnier
Subject: Re: rx.el sexp regexp syntax
Date: Mon, 28 May 2018 13:04:17 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> Not sure what you are trying to do, but doesn't it work with
>       (rx (... (eval VARIABLE) ...))

This evaluates VARIABLE during the macro-expansion, so it only works if
VARIABLE exists during the macroexpansion.  So it works if you can bind
your variables with the new `let-when-compile`, but it won't work with
lexically-scoped vars.


reply via email to

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