https://cplusplus.github.io/LWG/issue3296 says that the call
basic_regex& assign(const charT* ptr, size_t len, flag_type f);
is specified twice: once with a default value for f, and once without.
This patch adds the default value regex_constants::ECMAScript to the final parameter.
Note that MS-STL already has this behavior, while libstdc++ does not.
Most of this change is just lining up stuff to make it easy to see that it's all the same. The only actual change is line 173