Skip to content

Commit 600a063

Browse files
authored
build-system.jam regexp review (#505)
1 parent 166cea0 commit 600a063

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/build-system.jam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ local rule process-explicit-toolset-requests
528528
for local t in $(option-toolsets) $(feature-toolsets)
529529
{
530530
# Parse toolset-version/properties.
531-
local toolset = [ MATCH "([^/]+)/?.*" : $(t) ] ;
531+
local toolset = [ MATCH "([^/]+)" : $(t) ] ;
532532
local properties = [ feature.expand-subfeatures <toolset>$(toolset) : true ] ;
533533
local toolset-property = [ property.select <toolset> : $(properties) ] ;
534534
local known ;
@@ -1055,7 +1055,7 @@ local rule should-clean-project ( project )
10551055
;
10561056
}
10571057

1058-
# The 'all' pseudo target is not strictly needed expect in the case when we
1058+
# The 'all' pseudo target is not strictly needed except in the case when we
10591059
# use it below but people often assume they always have this target
10601060
# available and do not declare it themselves before use which may cause
10611061
# build failures with an error message about not being able to build the

0 commit comments

Comments
 (0)