lib/byebug/commands/catchpoint.rb in byebug-1.8.2 vs lib/byebug/commands/catchpoint.rb in byebug-2.0.0

- old
+ new

@@ -2,10 +2,10 @@ class CatchCommand < Command self.allow_in_control = true def regexp - /^\s* cat(?:ch)? (?:\s+(\S+))? (?:\s+(off))? \s*$/ix + /^\s* cat(?:ch)? (?:\s+(\S+))? (?:\s+(off))? \s*$/x end def execute excn = @match[1] return info_catch unless excn