Use internal PCRE based implementation of regular expressions instead of std C++ regex library.

C++ regex library proven to be unusable for gcc 4.8 and earlier version, so
reimplement code using PCRE library in order to build workable version of
unit_test executable for CentOS 7, RHEL 7, Ubuntu 14 and SUSE Linux 12.
This commit is contained in:
Alexey Zelkin
2016-06-16 13:49:17 +00:00
committed by Felipe Zimmerle
parent 21777aec41
commit 647019a804
2 changed files with 8 additions and 7 deletions

View File

@@ -43,6 +43,7 @@ class SMatch {
public:
SMatch() : size_(0) { }
size_t size() { return size_; }
std::string str() { return match; }
int size_;
std::string match;
};