Skip to content

Commit

Permalink
Fix `Stack overflow in regexp matcher' match error on some linux dist…
Browse files Browse the repository at this point in the history
…ribution. (regexp engine difference)
  • Loading branch information
zw963 committed May 11, 2014
1 parent c8319c1 commit e4b25b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rvm.el
Expand Up @@ -109,7 +109,7 @@ This path gets added to the PATH variable and the exec-path list.")
"reflects the path to the current 'rubygems' executables.
This path gets added to the PATH variable and the exec-path list.")

(defvar rvm--info-option-regexp "\s+\\(.+\\):\s+\"\\(.+\\)\""
(defvar rvm--info-option-regexp "\s+\\(.+?\\):\s+\"\\(.+?\\)\""
"regular expression to parse the options from rvm info")

(defvar rvm--list-ruby-regexp "\s*\\(=?[>\*]\\)?\s*\\(.+?\\)\s*\\[\\(.+\\)\\]\s*$"
Expand Down

0 comments on commit e4b25b0

Please sign in to comment.