[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Some linters and syntax
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] Some linters and syntax |
Date: |
Wed, 01 Apr 2015 17:37:12 +0200 |
On Tue, Mar 31, 2015, at 22:21, Mark Oteiza wrote:
> Take `map` for
> example. In elisp there is also cl-map, so something like
>
> (cl-map 'vector #'append list1 list2)
>
> will have "map" highlighted when it shouldn't.
It's a pity one can't redefine the word-character class
to include the hyphen. :|
I've been trying things from here:
http://www.regular-expressions.info/lookaround.html
But putting color yellow "(?<!-)map" in a syntax file
gives this error:
Bad regex "(?<!-)map": Invalid preceding regular expression
Benno
--
http://www.fastmail.com - mmm... Fastmail...