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

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

Re: Font lock question


From: Stefan Monnier
Subject: Re: Font lock question
Date: Wed, 17 Mar 2021 09:39:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> I have no trouble composing a regex that matches this entire thing.  I'd add a
> shy group that includes an optional semicolon and that is repeated at least
> once:
>
>     \[\(?:\(?1:.*?\)B\(?2:.*?\);?\)+\]
>
> However, this does not work for font-lock, it seems.

Can you clarify what you mean by "doe snot work"?


        Stefan




reply via email to

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