[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master bc2a93d: Fix more regular expression typos
From: |
Mattias Engdegård |
Subject: |
Re: [Emacs-diffs] master bc2a93d: Fix more regular expression typos |
Date: |
Wed, 20 Mar 2019 14:01:11 +0100 |
20 mars 2019 kl. 13.26 skrev Stefan Monnier <address@hidden>:
>
>> (progn
>> - (skip-chars-forward "^ \t\n\\")
>> + (skip-chars-forward "^ \t\n")
>> (when (eq (char-after) ?\\)
>> (forward-char 1)
>> (unless (eolp)
>
> Hmm... no this needs to be
>
> (skip-chars-forward "^ \t\n\\")
> or
> (skip-chars-forward "^ \t\n\\\\")
Are you sure? Trailing backslashes in skip-sets have no effect, and
semantically the backslash cannot reasonably be included because of the
condition that follows.