aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2022-08-03 22:22:40 -0600
committerDave Lee <davelee.com@gmail.com>2022-08-11 15:24:57 -0700
commit28d0c0c2c8e88d2b6599ee34c84eb58eed43a626 (patch)
treef92d06b55bc378f89906592415f6873591505bf6 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parent2c2fb0c7375061147711cd21396d79faad7dfdfb (diff)
downloadllvm-28d0c0c2c8e88d2b6599ee34c84eb58eed43a626.zip
llvm-28d0c0c2c8e88d2b6599ee34c84eb58eed43a626.tar.gz
llvm-28d0c0c2c8e88d2b6599ee34c84eb58eed43a626.tar.bz2
[lldb] Tidy some regex in crashlog.py (NFC)
A spiritual follow up to D131032. I noticed some regex could be simplified. This does some of the following: 1. Removes unused capture groups 2. Uses non-capturing `(?:...)` groups where grouping is needed but capturing isn't 3. Removes trailing `.*` 4. Uses `\d` over `[0-9]` 5. Uses raw strings 6. Uses `{N,}` to indicate N-or-more Also improves the call site of a `re.findall`. Differential Revision: https://reviews.llvm.org/D131305
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions