Boost logo

Boost-Build :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-10-05 12:17:29


"Rene Rivera" <grafikrobot_at_[hidden]> skrev i meddelandet
news:45251A43.8030003_at_gmail.com...
> Johan Nilsson wrote:

[snip]

>> It looks like MATCH doesn't support multi-line mode. In the BJam docs it
>> states that the MATCH regex should be an egrep pattern, and that doesn't
>> include \n.
>
> Well it does, or can be made to, in the always entertaining bjam way of
> having flexible string values. This should work (famous last words):
>
> local xs = [ MATCH "([^
> ]*)" : $(x) ] ;
>

I've already tried a variant of the "physical newline declaration" trick
under Windows, but couldn't get it to work properly. Perhaps it is possible
to make it work, but I gave up after a couple of attempts.

// Johan


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