[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scan of regexps in emacs
From: |
Mattias Engdegård |
Subject: |
Re: Scan of regexps in emacs |
Date: |
Sun, 10 Mar 2019 12:19:41 +0100 |
9 mars 2019 kl. 16.09 skrev Alan Mackenzie <address@hidden>:
>
>> As a matter of interest, the current scan failed to catch an unescaped
>> ]. This was at the second ^ (inserted by me) in the last quoted line:
>
> Apologies: such a ] is not a special character, and should not be
> flagged.
Thanks for the fixes, Alan!
In fact, re-lint doesn't complain about \] either since it's very common and
usually harmless.
Inside [...] it's less smooth -- I wish there was a way to detect "escaped" ],
^ and - there. Right now such mistakes have to be discovered indirectly.