help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Including tex commands in a list


From: Michael Heerdegen
Subject: Re: Including tex commands in a list
Date: Fri, 29 Jan 2021 13:05:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

steve-humphreys@gmx.com writes:

> Have also tried to do the following, but it still has remained a problem.
>
> (defconst crucible-mtksy-keywords
>   `(;; Greek
>     (,(concat "\\\\\\<"
>             (rx "\\" "alpha" (or "beta" "chi") "delta")

That would match something like \alphabetadelta.  I guess that's not
what you want.

If you want to refer to a submatch, e.g. to what is matched by the `or'
subexpression, use an explicit `group'.

Michael.




reply via email to

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