summaryrefslogtreecommitdiff
path: root/lib/debug.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-29 03:05:11 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-29 03:05:11 +0000
commit766762300b278cb6e02335cf1dc104dbd59141c6 (patch)
tree462b1a1571f755d121ef8f7082913d9c47532a92 /lib/debug.rb
parent1c023c0cbf54e4bbcdd1db7a6a9a7ec5b4eb4107 (diff)
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
Diffstat (limited to 'lib/debug.rb')
-rw-r--r--lib/debug.rb2
1 files changed, 1 insertions, 1 deletions
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(":")