Temporarily switch to boost::regex

In combination with musl, parser crashed. glibc fine. Could not pinpoint
down the exact reason mainly due to time constraints. Strange, in both
cases actually libstdc++ is used, so this is very odd.
这个提交包含在:
2018-11-11 21:28:45 +01:00
父节点 28bf5ab6d4
当前提交 882871c34f
修改 5 个文件,包含 18 行新增16 行删除

查看文件

@@ -1,12 +1,12 @@
#ifndef PARSER_H
#define PARSER_H
#include <regex>
#include <boost/regex.hpp>
#include "iparser.h"
class Parser : public IParser
{
private:
std::string processLink(const PageDao &pageDao, UrlProvider &urlProvider, std::smatch &match) const;
std::string processLink(const PageDao &pageDao, UrlProvider &urlProvider, boost::smatch &match) const;
public:
std::string extractCommand(std::string cmdname, std::string content) const;