From 766762300b278cb6e02335cf1dc104dbd59141c6 Mon Sep 17 00:00:00 2001 From: nahi Date: Fri, 29 Mar 2002 03:05:11 +0000 Subject: Changed regexp for parsing break command '.*?+' to '.+'. See also [ruby-dev:16652]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/debug.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/debug.rb') diff --git a/lib/debug.rb b/lib/debug.rb index 481658ccbf..f7eeac50cb 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -297,7 +297,7 @@ class Context stdout.print "Trace off.\n" end - when /^\s*b(?:reak)?\s+((?:.*?+:)?.+)$/ + when /^\s*b(?:reak)?\s+((?:.+:)?.+)$/ pos = $1 if pos.index(":") pos = pos.split(":") -- cgit v1.2.3