1
0
mirror of synced 2025-04-20 11:47:43 +03:00
Matthew DeVore bc9251ea49 Work around incompatibility in <regex> in libc++
libc++ (the implementation of the C++ standard library usually used by
Clang) throws an exception for the regex used by parse_headers before
this patch for certain strings. Work around this by simplifying the
regex and parsing the header lines "by hand" partially. I have repro'd
this problem with Xcode 11.1 which I believe uses libc++ version 8.

This may be a bug in libc++ as I can't see why the regex would result in
asymptotic run-time complexity for any strings. However, it may take a
while for libc++ to be fixed and for everyone to migrate to it, so it
makes sense to work around it in this codebase for now.
2019-12-05 17:14:16 -08:00
..
2019-09-03 17:16:16 -04:00
2019-11-29 17:07:51 -05:00
2019-11-29 17:07:51 -05:00
2017-12-29 22:34:59 -05:00
2019-10-23 08:28:15 -04:00
2013-07-04 18:18:52 -04:00
2019-09-26 13:20:53 -04:00