[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.
Stefan
- Re: rx.el sexp regexp syntax, (continued)
- Re: rx.el sexp regexp syntax (WAS: Off Topic), Peter Neidhardt, 2018/05/25
- Re: rx.el sexp regexp syntax, Tom Tromey, 2018/05/27
- Re: rx.el sexp regexp syntax, Alan Mackenzie, 2018/05/27
- Re: rx.el sexp regexp syntax, Stefan Monnier, 2018/05/27
- Re: rx.el sexp regexp syntax, Stefan Monnier, 2018/05/27
- Re: rx.el sexp regexp syntax, Pierre Neidhardt, 2018/05/28
- Re: rx.el sexp regexp syntax,
Stefan Monnier <=