diff options
author | aycabta <[email protected]> | 2021-09-11 04:30:29 +0900 |
---|---|---|
committer | git <[email protected]> | 2021-09-11 04:41:20 +0900 |
commit | 3e038ab1c7f0009f753bfada2e18fb6078a92c12 (patch) | |
tree | b6355924089a3b3fc27a654704b8924bf0297a49 /lib/irb/completion.rb | |
parent | cfbf2bde4002821d12047b2aba0010739aaf925e (diff) |
[ruby/irb] Ignore invalid 3 colons in completion
https://github.com/ruby/irb/commit/5e29e3e39c
Diffstat (limited to 'lib/irb/completion.rb')
-rw-r--r-- | lib/irb/completion.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index 812ebb09e7..fe2962e780 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -286,7 +286,7 @@ module IRB all_gvars.grep(Regexp.new(Regexp.quote(gvar))) end - when /^([^."].*)(\.|::)([^.]*)$/ + when /^([^.:"].*)(\.|::)([^.]*)$/ # variable.func or func.func receiver = $1 sep = $2 |