Method: Debugger::AddBreakpoint#regexp
- Defined in:
- lib/ruby-debug/commands/breakpoints.rb
#regexp ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/ruby-debug/commands/breakpoints.rb', line 5 def regexp / ^\s* b(?:reak)? (?: \s+ (?: (\d+) | (.+?)[:.#]([^.:\s]+) ))? (?:\s+ if\s+(.+) )? $ /x end |