[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Special hilighting for comments
From: |
Heime |
Subject: |
Re: Special hilighting for comments |
Date: |
Sun, 11 Dec 2022 06:59:32 +0000 |
------- Original Message -------
On Sunday, December 11th, 2022 at 6:54 AM, tomas@tuxteam.de <tomas@tuxteam.de>
wrote:
> On Sun, Dec 11, 2022 at 02:37:38AM +0000, Heime wrote:
>
> > Would you know the problem with the following regexp
> >
> > "^;; \\[.+\\].*$"
> >
> > It fails to match
> >
> > ;; [something] other things
>
>
> Worksforme. At least if the first semicolon is actually at the
> start of a line, that is.
>
> Cheers
> --
> t
Yes it works. I am trying to use subexp in highlight-regexp.
To match "^;; \\[.+\\].*$" but highlight only the "\\[.+\\]" part.
- Re: Special hilighting for comments, (continued)
- Re: Special hilighting for comments, Jean Louis, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Jean Louis, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/11
- Re: Special hilighting for comments, Jean Louis, 2022/12/11
- Re: Special hilighting for comments, tomas, 2022/12/11
- Re: Special hilighting for comments,
Heime <=
- Re: Special hilighting for comments, tomas, 2022/12/11
- Re: Special hilighting for comments, Heime, 2022/12/11
- Re: Special hilighting for comments, tomas, 2022/12/11
- Re: Special hilighting for comments, Heime, 2022/12/11
- Re: Special hilighting for comments, tomas, 2022/12/11