diff --git a/v2/tools/stage.jam b/v2/tools/stage.jam index 5b9b7c45c..f54d7a6ad 100644 --- a/v2/tools/stage.jam +++ b/v2/tools/stage.jam @@ -468,7 +468,7 @@ rule rename ( name : type ? : property-set : unversioned ? ) case tru64cxx* : toolset-tag += tru ; case vacpp* : toolset-tag += xlc ; } - local version = [ MATCH "(.*)" : $(properties) ] ; + local version = [ MATCH "([0123456789]+)[.]([0123456789]*)" : $(properties) ] ; toolset-tag += $(version) ; }