branch: elpa/inf-ruby
commit 350b12fea327bf5453d58359a0bd107e7a86b338
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    inf-ruby-prompt-format: Minor cleanup
---
 inf-ruby.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index b1878836aa..0d0bb5884c 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -39,10 +39,10 @@
   (concat
    (mapconcat
     #'identity
-    '("\\(^%s> .*\\)"                     ; Simple
+    '("\\(^%s> *\\)"                      ; Simple
       "\\(^(rdb:1) *\\)"                  ; Debugger
       "\\(^\\(irb([^)]+)"                 ; IRB default
-      "\\(\[[0-9]+\] \\)?[Pp]ry ?([^)]+)" ; Pry
+      "\\([[0-9]+] \\)?[Pp]ry ?([^)]+)"   ; Pry
       "\\(jruby-\\|JRUBY-\\)?[1-9]\\.[0-9]\\.[0-9]+\\(-?p?[0-9]+\\)?" ; RVM
       "^rbx-head\\)")                     ; RVM continued
     "\\|")

Reply via email to