20 using namespace zypp::str;
23 : m_flags(match_extended)
36 static const int normal = 1<<16;
37 if (!(flags & normal)) {
42 if ((err = regcomp(&
m_preg, str.c_str(), flags))) {
44 regerror(err, &
m_preg, errbuff,
sizeof(errbuff));
70 return s && !regexec(®ex.
m_preg, s, 0, NULL, 0);
97 unsigned matches = unsigned(-1);
101 for (
unsigned i = 0; i <
sizeof(
pmatch)/
sizeof(*
pmatch); ++i )
103 if (
pmatch[i].rm_so != -1 )