//Copyright (c) 2018 mmYYmmdd #pragma once #include "msofficeutil.h" #include #include namespace mymd { //肯定後読み、否定後読みを実装した正規表現 //ただし (?<= と (? submatches_; public: regexp2(std::wstring const& pattern); void execute(std::wstring const& target, bool icase, std::wstring const* original = nullptr); std::wstring const& match() const; std::wstring const& prefix() const; std::wstring const& suffix() const; std::vector const& submatches() const; }; }