29 const char*
const tape_file_regex_string =
X_(
"/T[0-9][0-9][0-9][0-9]-");
35 TapeFileMatcher::TapeFileMatcher()
39 if ((err = regcomp (&m_compiled_pattern,
40 tape_file_regex_string, REG_EXTENDED|REG_NOSUB)))
44 regerror (err, &m_compiled_pattern, msg,
sizeof (msg));
53 TapeFileMatcher::matches (
const string& audio_filename)
const
56 if (regexec (&m_compiled_pattern, audio_filename.c_str(), 0, 0, 0) == 0)
LIBPBD_API Transmitter error
std::ostream & endmsg(std::ostream &ostr)
std::string string_compose(const std::string &fmt, const T1 &o1)