lib/byebug/commands/enable_disable.rb in byebug-4.0.4 vs lib/byebug/commands/enable_disable.rb in byebug-4.0.5
- old
+ new
@@ -74,10 +74,10 @@
def execute
cmd = @match[1] == 'dis' ? 'disable' : 'enable'
return errmsg(pr('toggle.errors.syntax', toggle: cmd)) unless @match[2]
- args = @match[2].split(/[ \t]+/)
+ args = @match[2].split(/ +/)
param = args.shift
subcmd = Command.find(Subcommands, param)
if subcmd
send("#{cmd}_#{subcmd.name}", args)
else