aboutsummaryrefslogtreecommitdiff
path: root/examples/python/symbolication.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python/symbolication.py')
-rwxr-xr-xexamples/python/symbolication.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/symbolication.py b/examples/python/symbolication.py
index 2f2a274dbc41..88846c99b3a4 100755
--- a/examples/python/symbolication.py
+++ b/examples/python/symbolication.py
@@ -448,7 +448,7 @@ class Symbolicator:
if image.identifier == identifier:
images.append(image)
if len(images) == 0:
- 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):