C++11 <regex>
uses ECMAScript’s (ECMA-262) regex syntax, so it will not have look-behind (other flavors of regex that C++11 supports also don’t have look-behind).
If your use case requires the use of look-behind, you may consider using Boost.Regex instead.
More Related Contents:
- Is gcc 4.8 or earlier buggy about regular expressions?
- What does std::match_results::size return?
- Difference between std::regex_match & std::regex_search?
- regex replace with callback in c++11?
- No matches with c++11 regex [duplicate]
- Is this C++11 regex error me or the compiler?
- c++11 regex slower than python
- Do C++11 regular expressions work with UTF-8 strings?
- Regex not working as expected with C++ regex_match
- C++ regex_match not working
- What exactly is nullptr?
- Why does this C++ snippet compile (non-void function does not return a value) [duplicate]
- How to initialize std::array elegantly if T is not default constructible?
- lifetime of a std::initializer_list return value
- Why does auto x{3} deduce an initializer_list?
- How do I initialize a member array with an initializer_list?
- Template tuple – calling a function on each element
- what is the difference between set and unordered_set in C++?
- Is it legal to declare a constexpr initializer_list object?
- C++ parameter pack, constrained to have instances of a single type?
- C++11 way to index tuple at runtime without using switch
- Initializing container of unique_ptrs from initializer list fails with GCC 4.7
- How to escape a string for use in Boost Regex
- What is the class keyword before a function argument?
- Why can’t I replace std::map with std::unordered_map
- When must you pass io_context to boost::asio::spawn? (C++)
- C++11 std::threads vs posix threads
- Multiple “could not be resolved” problems using Eclipse with minGW
- Explicit Return Type of Lambda
- Why is this C++ wrapper class not being inlined away?