aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/LexGen.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/LexGen.py')
-rw-r--r--scripts/LexGen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/LexGen.py b/scripts/LexGen.py
index fba9f6631..a999621d6 100644
--- a/scripts/LexGen.py
+++ b/scripts/LexGen.py
@@ -34,7 +34,7 @@ def UpdateVersionNumbers(sci, root):
UpdateLineInFile(root / "doc/ScintillaDownload.html", " Release",
" Release " + sci.versionDotted)
ReplaceREInFile(root / "doc/ScintillaDownload.html",
- r"/www.scintilla.org/([a-zA-Z]+)\d\d\d",
+ r"/www.scintilla.org/([a-zA-Z]+)\d{3,5}",
r"/www.scintilla.org/\g<1>" + sci.version,
0)
UpdateLineInFile(root / "doc/index.html",