Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/etc/lldb_batchmode.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def print_debug(s):

def normalize_whitespace(s):
"""Replace newlines, tabs, multiple spaces, etc with exactly one space"""
return re.sub("\s+", " ", s)
return re.sub(r"\s+", " ", s)


def breakpoint_callback(frame, bp_loc, dict):
Expand Down Expand Up @@ -234,7 +234,7 @@ def watchdog():
if (
command == "run"
or command == "r"
or re.match("^process\s+launch.*", command)
or re.match(r"^process\s+launch.*", command)
):
# Before starting to run the program, let the thread sleep a bit, so all
# breakpoint added events can be processed
Expand Down
Loading