summaryrefslogtreecommitdiff
path: root/prolog/engine.py
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/engine.py')
-rw-r--r--prolog/engine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prolog/engine.py b/prolog/engine.py
index cebadea..2e25e14 100644
--- a/prolog/engine.py
+++ b/prolog/engine.py
@@ -99,7 +99,7 @@ def _get_message(reply):
where += ': '
# Strip HTML and pengine IDs from the messages.
text = strip_html(data)
- text = re.sub(r"pengine://[0-9]*/src:([0-9]*:)* ", '', text)
+ text = re.sub(r"pengine://[0-9a-z-]*/src:([0-9]*:)* ", '', text)
text = re.sub(r"'[0-9]{10,}':", '', text)
return reply['message'], where + text