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(":")