From 698dbf0c4f4bb76f0c8b1a0b22cc303e8fa61079 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 23 May 2005 21:46:18 +0000 Subject: * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): string literals to be matched non-greedy. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/ruby-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 61d865060..e13e84633 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -999,7 +999,7 @@ balanced expression is found." ("\\(#\\)[{$@]" 1 (1 . nil)) ;; the last $', $", $` in the respective string is not variable ;; the last ?', ?", ?` in the respective string is not ascii code - ("\\(^\\|[\[ \t\n<+\(,=]\\)\\(['\"`]\\)\\(\\\\.\\|\\2\\|[^'\"`\n\\\\]\\)*\\\\?[?$]\\(\\2\\)" + ("\\(^\\|[\[ \t\n<+\(,=]\\)\\(['\"`]\\)\\(\\\\.\\|\\2\\|[^'\"`\n\\\\]\\)*?\\\\?[?$]\\(\\2\\)" (2 (7 . nil)) (4 (7 . nil))) ;; $' $" $` .... are variables -- cgit