https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85472
--- Comment #20 from Tim Shen <timshen at gcc dot gnu.org> --- (In reply to Hans Ã…berg from comment #18) > (In reply to Tim Shen from comment #14) > > I have a C++ test case for this: > > I get segmentation fault on the regex_match line with g++ 7.3.0. On Linux I set "ulimit -s unlimited". The stack overflow is a known issue because the implementation is recursive.