We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8cdc727 + fbead70 commit 53da0b4Copy full SHA for 53da0b4
lisp/php-mode.el
@@ -970,7 +970,7 @@ this ^ lineup"
970
971
(eval-and-compile
972
(defconst php-heredoc-start-re
973
- "<<<\\(?:\\_<.+?\\_>\\|'\\_<.+?\\_>'\\|\"\\_<.+?\\_>\"\\)$"
+ "<<<[ \t]*\\(?:\\_<.+?\\_>\\|'\\_<.+?\\_>'\\|\"\\_<.+?\\_>\"\\)$"
974
"Regular expression for the start of a PHP heredoc."))
975
976
(defun php-heredoc-end-re (heredoc-start)
0 commit comments