diff options
author | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2009-08-12 16:39:00 +0100 |
---|---|---|
committer | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2009-08-12 16:42:53 +0100 |
commit | 1ef44ecb4beafc397feb048e50908ae2bdb8b625 (patch) | |
tree | 9b8edfd7ef5a971beabb1cca3d641f11dc19f639 /tools | |
parent | 6fa0233593ca61cea05726eaeecc8be19bc3b0ea (diff) |
improve log strip regex for pointers
Diffstat (limited to 'tools')
-rw-r--r-- | tools/log-strip.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/log-strip.py b/tools/log-strip.py index d7f0e68c6..2f28a7b02 100644 --- a/tools/log-strip.py +++ b/tools/log-strip.py @@ -12,7 +12,7 @@ def sanitise(line): re.sub('^(\*\* )?\(telepathy-gabble:\d+\)', '', re.sub('\x1b\[0m', '', re.sub('^RECV \[\d+\]', 'RECV [???]', - re.sub('0x.......', '0x???????', + re.sub('0x[0-9A-Fa-f]{5,8}', '0x???????', re.sub("('?<[^ ]+ [^>]*id=)[\"'][^\"']+[\"']", lambda m: m.group(1) + '"?????"', line)))))) |