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 ae7ae99d5..261cb7ee1 100644
--- a/scripts/LexGen.py
+++ b/scripts/LexGen.py
@@ -29,7 +29,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\d\d\d?",
r"/www.scintilla.org/\g<1>" + sci.version)
UpdateLineInFile(root + "doc/index.html",
' <font color="#FFCC99" size="3"> Release version',