Project

General

Profile

Bug #528 » 0002--misc-ruby-mode.el-don-t-crash-the-whole-mode-if-t.patch

nex3 (Natalie Weizenbaum), 08/31/2008 03:54 PM

View differences:

misc/ruby-mode.el
"Ruby mode revision string.")
(defconst ruby-mode-version
(progn
(string-match "[0-9.]+" ruby-mode-revision)
(substring ruby-mode-revision (match-beginning 0) (match-end 0)))
(and (string-match "[0-9.]+" ruby-mode-revision)
(substring ruby-mode-revision (match-beginning 0) (match-end 0)))
"Ruby mode version number.")
(defconst ruby-block-beg-re
(2-2/7)