branch: externals/phps-mode
commit 79bbd0cb4fff51a5c27f65ecbadc7d2625c93cc8
Author: Christian Johansson <christ...@mediastrategi.se>
Commit: Christian Johansson <christ...@mediastrategi.se>

    Fixed a regex issue
---
 phps-mode-lexer.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phps-mode-lexer.el b/phps-mode-lexer.el
index 673bff2..8d4fcd1 100644
--- a/phps-mode-lexer.el
+++ b/phps-mode-lexer.el
@@ -973,7 +973,7 @@
       (phps-mode-lexer--match-macro
        (and ST_IN_SCRIPTING
             (looking-at
-             (concat "\\(" "[" "\\|" "(" "\\)")))
+             (concat "\\(" "\\[" "\\|" "(" "\\)")))
        (phps-mode-lexer--enter-nesting)
        (phps-mode-lexer--return-token))
 

Reply via email to