Why can't I use lookbehinds in C++11? Lookahead works fine.
std::regex e("(?<=a)b");
This will throw the following exception:
The expression contained mismatched ( and ).
This wont throw any exception:
std::regex e("a(?=b)");
What am I missing?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…