From f8610b355ce5d0d74c65ca12e20d02ef00df5bfc Mon Sep 17 00:00:00 2001 From: Kirill Shumilov Date: Tue, 16 Jan 2018 15:43:57 +0300 Subject: [PATCH] tweak(xod-arduino): tweak token for CppImplementationEditor to highlight inputs/outputs with lowercase characters in the name (#1006) --- packages/xod-arduino/src/getTokens.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/xod-arduino/src/getTokens.js b/packages/xod-arduino/src/getTokens.js index ff7ce0a1..ac63afe5 100644 --- a/packages/xod-arduino/src/getTokens.js +++ b/packages/xod-arduino/src/getTokens.js @@ -2,7 +2,7 @@ const getTokens = () => [ { - regex: /\b((?:input|output)_[A-Z0-9-_]+)\b/gm, + regex: /\b((?:input|output)_[A-Za-z0-9-_]+)\b/gm, token: 'tag', }, {