summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-22 16:49:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-22 16:49:46 (GMT)
commit178df447b79c07babb4804f789769fc780bb3b17 (patch)
tree3b5648a9ea32ed586ec844a99ab819e3854d021c /tools
parent26e99bad85be55cb8f27649867fdcebfd92d424b (diff)
parent38b53dd47e3408dfed6a9fd179106652332b3b1e (diff)
downloadtcl-178df447b79c07babb4804f789769fc780bb3b17.zip
tcl-178df447b79c07babb4804f789769fc780bb3b17.tar.gz
tcl-178df447b79c07babb4804f789769fc780bb3b17.tar.bz2
Merge 8.7
Diffstat (limited to 'tools')
-rwxr-xr-xtools/tcltk-man2html.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tcltk-man2html.tcl b/tools/tcltk-man2html.tcl
index 16b61ed..4ffb55e 100755
--- a/tools/tcltk-man2html.tcl
+++ b/tools/tcltk-man2html.tcl
@@ -43,7 +43,7 @@ proc getversion {tclh {name {}}} {
# highlighting straight in some editors
if {[regexp -lineanchor \
[string map [list @name@ $name] \
- {^#define\s+@name@_VERSION\s+\"([^.])+\.([^.\"]+)}] \
+ {^\s*#define\s+@name@_VERSION\s+\"([^.])+\.([^.\"]+)}] \
$data -> major minor]} {
return [list $major $minor]
}