ROSE 0.11.145.192
|
Predicate returning true for matching names.
Returns true if and only if the final component of the path matches the specified regular expression.
For example, to find all files whose base name matches the glob "rose_*" use this (note that the corresponding regular expression is "rose_.*", with a dot):
Definition at line 59 of file Rose/FileSystem.h.
#include <Rose/FileSystem.h>
Public Member Functions | |
baseNameMatches (const boost::regex &re) | |
bool | operator() (const Path &path) |
|
inline |
Definition at line 62 of file Rose/FileSystem.h.