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: steve-humphreys
Subject: Re: Including tex commands in a list
Date: Fri, 29 Jan 2021 13:57:24 +0100

> Sent: Saturday, January 30, 2021 at 12:05 AM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Including tex commands in a list
>
> 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'.

Should I still try to use "rx" for my situation?

> Michael.
>
>
>



reply via email to

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