Avoid $! for font-lock-negation-char-face.
authorDaniel Pfeiffer <occitan@esperanto.org>
Thu, 5 May 2005 19:20:03 +0000 (19:20 +0000)
committerDaniel Pfeiffer <occitan@esperanto.org>
Thu, 5 May 2005 19:20:03 +0000 (19:20 +0000)
lisp/progmodes/cperl-mode.el

index 3595745..e32a43e 100644 (file)
@@ -4752,8 +4752,8 @@ indentation and initial hashes.  Behaves usually outside of comment."
                       3 font-lock-variable-name-face)))
            '("\\<for\\(each\\)?\\([ \t]+\\(my\\|local\\|our\\)\\)?[ \t]*\\(\\$[a-zA-Z_][a-zA-Z_0-9]*\\)[ \t]*("
              4 font-lock-variable-name-face)
-           ;; Avoid s!!, qq!! etc. when not fontifying syntaxically
-           '("\\(?:^\\|[^smywqrx]\\)\\(!\\)" 1 font-lock-negation-char-face)
+           ;; Avoid $!, and s!!, qq!! etc. when not fontifying syntaxically
+           '("\\(?:^\\|[^smywqrx$]\\)\\(!\\)" 1 font-lock-negation-char-face)
            '("\\[\\(\\^\\)" 1 font-lock-negation-char-face prepend)))
          (setq
           t-font-lock-keywords-1