Variable: web-mode-engine-token-regexps
web-mode-engine-token-regexps is a variable defined in web-mode.el.
Value
(("antlers" . "\"\\|'") ("artanis" . "\"\\|#|\\|;")
("asp" . "//\\|/\\*\\|\"\\|'") ("ejs" . "//\\|/\\*\\|\"\\|'")
("erb" . "\"\\|'\\|#\\|<<[-]?['\"]?\\([[:alnum:]_]+\\)['\"]?")
("lsp" . "\"\\|#|\\|;") ("mako" . "\"\\|'\\|#")
("mason" . "\"\\|'\\|#") ("mojolicious" . "\"\\|'")
("php" . "//\\|/\\*\\|#\\|\"\\|'\\|<<<['\"]?\\([[:alnum:]]+\\)['\"]?")
("python" . "\"\\|'\\|#") ("web2py" . "\"\\|'"))
Documentation
Engine regexps used to identify tokens (strings / comments) in blocks.
Source Code
;; Defined in /nix/store/2qgnz1rp30nzfz6w0apx4kdm14if1bbs-emacs-packages-deps/share/emacs/site-lisp/elpa/web-mode-20260831.219/web-mode.el
(defvar web-mode-engine-token-regexps
(list
'("antlers" . "\"\\|'")
'("artanis" . "\"\\|#|\\|;")
'("asp" . "//\\|/\\*\\|\"\\|'")
'("ejs" . "//\\|/\\*\\|\"\\|'")
'("erb" . "\"\\|'\\|#\\|<<[-]?['\"]?\\([[:alnum:]_]+\\)['\"]?")
'("lsp" . "\"\\|#|\\|;")
'("mako" . "\"\\|'\\|#")
'("mason" . "\"\\|'\\|#")
'("mojolicious" . "\"\\|'")
'("php" . "//\\|/\\*\\|#\\|\"\\|'\\|<<<['\"]?\\([[:alnum:]]+\\)['\"]?")
'("python" . "\"\\|'\\|#")
'("web2py" . "\"\\|'"))
"Engine regexps used to identify tokens (strings / comments) in blocks.")