lib/byebug/commands/set.rb in byebug-1.8.1 vs lib/byebug/commands/set.rb in byebug-1.8.2
- old
+ new
@@ -44,10 +44,10 @@
end unless defined?(Subcommands)
self.allow_in_control = true
def regexp
- /^set (?: \s+ (.*) )?$/ix
+ /^\s* set (?:\s+(.*))? \s*$/ix
end
def execute
return print SetCommand.help(nil) if SetCommand.names.include?(@match[0])