1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): string

literals to be matched non-greedy.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2005-05-23 21:46:18 +00:00
parent 0162e83dfa
commit f7ca291dd1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue May 24 06:45:31 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): string
literals to be matched non-greedy.
Tue May 24 00:39:14 2005 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> Tue May 24 00:39:14 2005 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* test/soap/calc: method name 'set' was able to crash with a class Set. * test/soap/calc: method name 'set' was able to crash with a class Set.

View file

@ -999,7 +999,7 @@ balanced expression is found."
("\\(#\\)[{$@]" 1 (1 . nil)) ("\\(#\\)[{$@]" 1 (1 . nil))
;; the last $', $", $` in the respective string is not variable ;; the last $', $", $` in the respective string is not variable
;; the last ?', ?", ?` in the respective string is not ascii code ;; the last ?', ?", ?` in the respective string is not ascii code
("\\(^\\|[\[ \t\n<+\(,=]\\)\\(['\"`]\\)\\(\\\\.\\|\\2\\|[^'\"`\n\\\\]\\)*\\\\?[?$]\\(\\2\\)" ("\\(^\\|[\[ \t\n<+\(,=]\\)\\(['\"`]\\)\\(\\\\.\\|\\2\\|[^'\"`\n\\\\]\\)*?\\\\?[?$]\\(\\2\\)"
(2 (7 . nil)) (2 (7 . nil))
(4 (7 . nil))) (4 (7 . nil)))
;; $' $" $` .... are variables ;; $' $" $` .... are variables