+2003-09-26 Angus Leeming <leeming@lyx.org>
+
+ * FormFiledialog.C (regexMatch): renamed as globMatch.
+
2003-09-25 Angus Leeming <leeming@lyx.org>
* FormFiledialog.C (regexMatch): moved here from lstrings.[Ch] because
namespace {
-bool regexMatch(string const & a, string const & pattern)
+bool globMatch(string const & a, string const & pattern)
{
// We massage the pattern a bit so that the usual
// shell pattern we all are used to will work.
|| fileInfo.isChar()
|| fileInfo.isBlock()
|| fileInfo.isFifo()) {
- if (!regexMatch(fname, mask_))
+ if (!globMatch(fname, mask_))
continue;
} else if (!(isDir = fileInfo.isDir()))
continue;