From: Joao Abecasis (jpabecasis_at_[hidden])
Date: 2005-08-31 10:38:51
Joao Abecasis wrote:
> I'd like to know if it is possible to do pattern matching inside text
> files using only bjam and Boost.Build v2. If this is possible, I'd
> appreciate if someone could give me some pointers. (I may be missing
> something pretty basic...)
Another way to state the problem is how to read the contents of a file
with current bjam + Boost.Build2?
Is there currently a way to do this?
> For my purposes, I want to scan a set of files with a regular expression
> to extract name/value pairs "hidden" within comments in source files.
Handling the regular expressions and iterating over files (or even
finding them using GLOB) seems to be the easy part, what I'm really
missing is how to open those files and read their contents.
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