parameters: (
          test,
          regexp,
          extra_options=None,
          num_expected_locations=-1)
return_statement: return get_bpno_from_match(break_results)
docstring: Set a breakpoint by regular expression match on symbol name.  Common options are the same as run_break_set_by_file_and_line.
docstring_summary: Set a breakpoint by regular expression match on symbol name.  Common options are the same as run_break_set_by_file_and_line.
docstring_tokens: Set a breakpoint by regular expression match on symbol name . Common options are the same as run_break_set_by_file_and_line .
function: def run_break_set_by_regexp(
          test,
          regexp,
          extra_options=None,
          num_expected_locations=-1):
      """Set a breakpoint by regular expression match on symbol name.  Common options are the same as run_break_set_by_file_and_line."""
  
      command = 'breakpoint set -r "%s"' % (regexp)
      if extra_options:
          command += " " + extra_options
  
      break_results = run_break_set_command(test, command)
  
      check_breakpoint_result(
          test,
          break_results,
          num_locations=num_expected_locations)
  
      return get_bpno_from_match(break_results)
function_tokens: def run_break_set_by_regexp ( test , regexp , extra_options = None , num_expected_locations = - 1 ) : command = 'breakpoint set -r "%s"' % ( regexp ) if extra_options : command += " " + extra_options break_results = run_break_set_command ( test , command ) check_breakpoint_result ( test , break_results , num_locations = num_expected_locations ) return get_bpno_from_match ( break_results )