2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Regex bug fix

[SVN r18655]
This commit is contained in:
Dave Abrahams
2003-06-03 18:26:33 +00:00
parent 1655be7509
commit 7b03c97dcc
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ import modules ;
# asking for help.
for local arg in [ MATCH ^--([^-=].*) : $(ARGV) ]
{
local split = [ MATCH ^([^-=]+([^=]*))(=?)(.*)$ : $(arg) ] ;
local split = [ MATCH ^(([^-=]+)[^=]*)(=?)(.*)$ : $(arg) ] ;
local full-name = $(split[1]) ;
local prefix = $(split[2]) ;
local value ;

View File

@@ -51,7 +51,7 @@ import modules ;
# asking for help.
for local arg in [ MATCH ^--([^-=].*) : $(ARGV) ]
{
local split = [ MATCH ^([^-=]+([^=]*))(=?)(.*)$ : $(arg) ] ;
local split = [ MATCH ^(([^-=]+)[^=]*)(=?)(.*)$ : $(arg) ] ;
local full-name = $(split[1]) ;
local prefix = $(split[2]) ;
local value ;