• Forum
  • Lounge
  • <regex> is not fully implemented for GCC

<regex> is not fully implemented for GCC-4.7.0

closed account (iw0XoG1T)
<regex> still does not work for gcc--any ideas why? It doesn't make sense to me since the Boost project has shown how to make it work. What don't I understand why implementing this so hard?

When I tried to find out when <regex> will be fully implemented all I can find is a reference showing that it is not implemented.


Is there some legal reason why GCC can't implement <regex> the Boost way? Or is there a technical reason ? Or is there a financial/time reason?
Last edited on
They are a volunteer project, like much of open source. When someone finds time to do it, it will happen. (personally, I can use boost.regex if I need it, the lack of <codecvt> in gcc is more annoying to me)
closed account (1yR4jE8b)
They are a volunteer project

And they still have better C++11 support than Microsoft, not too shabby if you ask me.
Overall, it is probably true, although there are a few C++11 features that Microsoft implemented back in VS2010, and gcc still didn't.
GCC is just too old and big and difficult to work on, LLVM/clang++/libc++ had a better idea: start from scratch.
Microsoft has had <regex> working since VC++2008 under the std::tr1:: namespace:
Along with a bunch of other goodies.
closed account (iw0XoG1T)
GCC is just too old and big and difficult to work on

This is not something that I had not considered, maybe this is obvious to you, but the idea that gcc has become so complicated over the years that nothing is simple anymore had not occurred to me.
Last edited on
I expect that anything for which a decent Boost option exists already is not at the top of the list of things to do, because there's already a decent Boost option people can use.
Topic archived. No new replies allowed.