diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-30 14:54:11 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-30 14:54:11 +0000 |
commit | be5e17704c73f5e285986955013edfc19bbfd2b0 (patch) | |
tree | b3c4eb3ccf18857449f2b0f3dbb3050c960d4588 /misc | |
parent | 1dcd4b325ee9074952461d1748d881ea27da05d5 (diff) | |
download | ruby-be5e17704c73f5e285986955013edfc19bbfd2b0.tar.gz |
* misc/ruby-mode.el (ruby-indent-beg-re): Fix broken regular
expression. Fixes #4546
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ruby-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 187d8a583a..d3e2e51d02 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -72,7 +72,7 @@ "Regexp to match") (defconst ruby-indent-beg-re - (concat "\\(\\s *" (regexp-opt '("class" "module" "def") t) "\\)" + (concat "\\(\\s *" (regexp-opt '("class" "module" "def") t) "\\)\\|" (regexp-opt '("if" "unless" "case" "while" "until" "for" "begin"))) "Regexp to match where the indentation gets deeper.") |