12 Aug
2014
12 Aug
'14
7:23 a.m.
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.