summaryrefslogtreecommitdiff
path: root/examples/film.py
diff options
context:
space:
mode:
authort0b3 <thomas.bettler@gmail.com>2020-06-22 20:29:08 +0200
committert0b3 <thomas.bettler@gmail.com>2020-06-22 20:34:31 +0200
commit466518ed6f74b6cef3b79aa8a917be3c7184284a (patch)
treea52a52768434053f4404c5160a215ef3f3fdcfe8 /examples/film.py
parentf69df4252e3a8466c025e34585dac37c7691b47c (diff)
downloadrdflib-466518ed6f74b6cef3b79aa8a917be3c7184284a.tar.gz
fix escaping (deprecated since py 3.6)
Signed-off-by: t0b3 <thomas.bettler@gmail.com>
Diffstat (limited to 'examples/film.py')
-rw-r--r--examples/film.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/film.py b/examples/film.py
index 0c566fd3..bf2d5e0b 100644
--- a/examples/film.py
+++ b/examples/film.py
@@ -42,7 +42,7 @@ storeuri = "file://" + storefn
title = "Movies viewed by %s"
r_who = re.compile(
- "^(.*?) <([a-z0-9_-]+(\.[a-z0-9_-]+)*@[a-z0-9_-]+(\.[a-z0-9_-]+)+)>$"
+ r"^(.*?) <([a-z0-9_-]+(\.[a-z0-9_-]+)*@[a-z0-9_-]+(\.[a-z0-9_-]+)+)>$"
)
IMDB = Namespace("http://www.csd.abdn.ac.uk/~ggrimnes/dev/imdb/IMDB#")