Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-25 04:53:49


Angus Leeming wrote:

> I know, but it's a start.
>
> The real work is actually done by Boost.Filesystem and Boost.Regex. All I
> do is transform the glob into an equivalent regex using Boost.Spirit and
> then loop recursively over the "pattern tree" to build up the list of
> matching files.

Then, why do you need real files for testing? If you're creating Boost.Regex
from glob pattern, you can test the created regex on strings, assuming
Boost.Filesystem is not buggy and returns the right filenames ;-)

- Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk