diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 |
commit | f3fbd1c0586ff6ec7895991e6c28f61a503c36a8 (patch) | |
tree | 48d008fd3df8c0e73271a4b18474e0aac6dbfe33 /examples/python/crashlog.py | |
parent | 2fc5d2d1dfaf623ce4e24cd8590565902f8c557c (diff) |
Notes
Diffstat (limited to 'examples/python/crashlog.py')
-rwxr-xr-x | examples/python/crashlog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/crashlog.py b/examples/python/crashlog.py index 60a6a1f50f00..a557b604afb4 100755 --- a/examples/python/crashlog.py +++ b/examples/python/crashlog.py @@ -452,7 +452,7 @@ class CrashLog(symbolication.Symbolicator): for image in self.images: if image.identifier == identifier: return image - regex_text = '^.*\.%s$' % (identifier) + regex_text = '^.*\.%s$' % (re.escape(identifier)) regex = re.compile(regex_text) for image in self.images: if regex.match(image.identifier): |