Boost logo

Boost Users :

Subject: Re: [Boost-users] Globbing library?
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2014-08-12 03:23:48


On 9/08/2014 15:28, Richard wrote:
>> For what it's worth, I believe you can mechanically translate glob
>> patterns to regular expressions and use the regex engine of your
>> choice.
>
> It would be handy to have a library that provided globbing as a
> simplifying facade around std::regex.

+1

Ideally with support for both POSIX-style and Windows-style globs. (The
former are more powerful but the latter have fewer reserved characters;
both are useful at different times.)

Where this does intersect with the filesystem, perhaps Boost.Filesystem
could make use of it? I don't think that currently has any globbing
support.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net