https://issues.dlang.org/show_bug.cgi?id=14504
--- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/0e7fc33abaac676290add738499ec46d9e4be8ab Fix issue 14504 Regex Optimizer doesn't merge equivalent threads We can be unprecise a bit by using a hash of table to represent a state of optimizer thread, after all any collision will result in just a shorter prefix search. https://github.com/D-Programming-Language/phobos/commit/11ef8c4a11dfcd397b5ba6a6e62344cc429d7715 Merge pull request #4157 from DmitryOlshansky/issue14504 Fix issue 14504 Regex Optimizer doesn't merge equivalent threads --