From 9a46002fc01b1b874d768b2e8372b725a9e8b298 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 2 Oct 2000 07:48:42 +0000 Subject: matz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/ruby-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index b5d70403e0..787a048b37 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -670,9 +670,9 @@ An end of a defun is found by moving forward from the beginning of one." (setq font-lock-syntactic-keywords '(("\\$\\([#\"'`$\\]\\)" 1 (1 . nil)) ("\\(#\\)[{$@]" 1 (1 . nil)) - ("\\(/\\).*\\(/\\)" + ("\\(/\\)\\([^/]\\|\\\\/\\)*\\(/\\)" (1 (7 . ?')) - (2 (7 . ?'))))) + (3 (7 . ?'))))) (make-local-variable 'font-lock-defaults) (setq font-lock-defaults '((ruby-font-lock-keywords) nil nil)) (setq font-lock-keywords ruby-font-lock-keywords))) -- cgit v1.2.3