From ef6f5eba82ce1600e56f1ce720a0aaee87f77ad8 Mon Sep 17 00:00:00 2001 From: gdh1995 Date: Sun, 4 Oct 2020 19:34:18 +0800 Subject: [PATCH] fix check of regexp's start point --- JsFormatter/JsFormatter/jsparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JsFormatter/JsFormatter/jsparser.cpp b/JsFormatter/JsFormatter/jsparser.cpp index e110c88..9dc8db1 100644 --- a/JsFormatter/JsFormatter/jsparser.cpp +++ b/JsFormatter/JsFormatter/jsparser.cpp @@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "jsparser.h" // 更改/mod: 除去'\n', 因为OPER_TOKEN下属字符串不会包含'\n' -const JSParser::Char JSParser::s_operCharBeforeReg[] = _T("(,=:[!&|?+{};"); +const JSParser::Char JSParser::s_operCharBeforeReg[] = _T("(,=:[!&|?+{};<>~%^*-/"); // void JSParser::PrintDebug() // {