#include <regex>
int main()
{
b = std::regex_match("building", std::regex("^\w*uild(?=ing$)"));
//
// b is expected to be true, but the actual value is false.
//
}
제 컴파일러는 clang 3.8입니다.왜 std :: regex_match는 "zero-length assertions"를 지원하지 않습니까?
왜 std :: regex_match는 "zero-length assertions"를 지원하지 않습니까?