diff --git a/chapter08/pcre.xml b/chapter08/pcre.xml
index d937d8f6c..700a6a12b 100644
--- a/chapter08/pcre.xml
+++ b/chapter08/pcre.xml
@@ -44,7 +44,7 @@
Prepare pcre2 for compilation:
./configure --prefix=/usr \
- --docdir=/usr/share/doc/pcre2-10.45 \
+ --docdir=/usr/share/doc/pcre2-&pcre2-version; \
--enable-unicode \
--enable-jit \
--enable-pcre2-16 \