summaryrefslogtreecommitdiff
path: root/sample/ruby-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'sample/ruby-mode.el')
-rw-r--r--sample/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/ruby-mode.el b/sample/ruby-mode.el
index d31b2d196ef..f92d6fb3822 100644
--- a/sample/ruby-mode.el
+++ b/sample/ruby-mode.el
@@ -234,7 +234,7 @@ The variable ruby-indent-level controls the amount of indentation.
(setq w (char-after (point)))
(cond
((and (not (eobp))
- (re-search-forward (format "[^\\]%c" w) indent-point t))
+ (re-search-forward (format "[^\\]\\(\\\\\\\\\\)*%c" w) indent-point t))
nil)
(t
(setq in-string (point))