emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-ruby 227a80fc52 176/265: Correct regexp


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 227a80fc52 176/265: Correct regexp
Date: Sat, 9 Jul 2022 21:59:24 -0400 (EDT)

branch: elpa/inf-ruby
commit 227a80fc5229150bd5062da31b2dd8b479189a7e
Author: Mark Stuart <codeasone@gmail.com>
Commit: Mark Stuart <codeasone@gmail.com>

    Correct regexp
---
 inf-ruby.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 089afe31eb..340c96d6d2 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -709,7 +709,7 @@ Gemfile, it should use the `gemspec' instruction."
                 "bundle exec irb -I lib")
             "irb -I lib"))
          (name (inf-ruby-file-contents-match
-                gemspec "\\.name[ \t]*=[ \t]*[\'\"]\\([^\"\n]+\\)[\'\"]" 1))
+                gemspec "\\.name[ \t]*=[ \t]*['\"]\\([^'\"]+\\)['\"]" 1))
          args files)
     (unless (file-exists-p "lib")
       (error "The directory must contain a 'lib' subdirectory"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]