From 383ac144727c716c65989c079ae76127e25144c3 Mon Sep 17 00:00:00 2001 From: Juergen Hoetzel Date: Wed, 5 May 2021 17:25:35 +0200 Subject: [PATCH] Fix invalid identifier regex (overlapping range) The overlapping range [A-z] includes non-identifier characters: "[^`". --- solidity-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solidity-mode.el b/solidity-mode.el index bef8480..f0d8036 100644 --- a/solidity-mode.el +++ b/solidity-mode.el @@ -297,7 +297,7 @@ Possible values are: "Built in constructs of the solidity language.") (defvar solidity-identifier-regexp - "\\([a-zA-z0-9]\\|_\\)+") + "\\([a-zA-Z0-9]\\|_\\)+") (defvar solidity-variable-attributes "\\(&\\|*\\|~\\)"