http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61059
--- Comment #3 from Roger Leigh <rleigh at debian dot org> --- Thanks for the clarification. Just for reference for anyone else running into this behaviour: clang++3.3: compiles and runs VS2012: compiles and throws regex_error VS2013: compiles and throws regex_error