summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-23 21:46:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-23 21:46:18 +0000
commit698dbf0c4f4bb76f0c8b1a0b22cc303e8fa61079 (patch)
treeef12245c801ebbc4b6e2e94bafd2618cb3c179ee /misc
parente7bb657ef68b763aa45d2680aeffa90509cde1c8 (diff)
downloadruby-698dbf0c4f4bb76f0c8b1a0b22cc303e8fa61079.tar.gz
ruby-698dbf0c4f4bb76f0c8b1a0b22cc303e8fa61079.tar.xz
ruby-698dbf0c4f4bb76f0c8b1a0b22cc303e8fa61079.zip
* 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
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
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