Bug #528 » 0002--misc-ruby-mode.el-don-t-crash-the-whole-mode-if-t.patch
| 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
|
||