Subject: Re: [Boost-build] What flavour of regex does MATCH use? Or how do I remap paths?
From: Kuhl, Brian (brian.kuhl_at_[hidden])
Date: 2016-04-29 01:42:22
Ah! found it 'egrep'
From: Kuhl, Brian
Sent: April-28-16 10:13 PM
To: Boost.Build developer's and user's list (boost-build_at_[hidden])
Subject: What flavour of regex does MATCH use? Or how do I remap paths?
I'm trying to create a rule to assist remapping LD_LIBRARY_PATH from the build host to the VxWorks target system.
..might become ..
But I'm not getting anything from the MATCH rule?
rule native-VXWORKS ( path )
local result = $(path) ;
if [ regex.match "(^/?(.*))" : $(path) ] # absolute path.
result = [ sequence.join [ os.environ LAYER_SRC_PATH ] / [ MATCH "(?=bin\.v2).*" : $(path) ] ] ;
return $(result) ;
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk