All content and materials on this
site are provided "as is". TI and its respective suppliers and providers of content make no representations about
the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these
materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a
particular purpose, title and non-infringement of any third party intellectual property right. No license, either
express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a
license from a third party, or a license from TI.
std::regex_constraints is a bitmask type, whose definition can be found in C++14 section 17.5.2.1.3. Paragraph 3 of this definition states that all values in the bitmask must be nonzero, so that zero can be used as a special 'empty bitmask' value.
The current implementation assigns std::regex_constraints::ECMAScript to 0, which goes against the definition.
std::regex_constraints is a bitmask type, whose definition can be found in C++14 section 17.5.2.1.3. Paragraph 3 of this definition states that all values in the bitmask must be nonzero, so that zero can be used as a special 'empty bitmask' value.
The current implementation assigns std::regex_constraints::ECMAScript to 0, which goes against the definition.