Namespaces
Variants
Views
Actions

Difference between revisions of "Talk:cpp/regex"

From cppreference.com
(yup, libc++ is pretty functional these days)
(sig)
 
(9 intermediate revisions by 5 users not shown)
Line 10: Line 10:
  
 
:::: Yeah, I think I added that one, and I've been mostly relying on clang-3.3 with libc++ on a mac. --[[User:Nate|Nate]] 07:37, 3 September 2013 (PDT)
 
:::: Yeah, I think I added that one, and I've been mostly relying on clang-3.3 with libc++ on a mac. --[[User:Nate|Nate]] 07:37, 3 September 2013 (PDT)
 +
 +
: Example code fails to compile with any of the available compilers using "run this code" button as of Jan 9 2014
 +
 +
:: That is correct; we don't currently have an implementation available for online compilation with sufficient C++11 support. It can be compiled and executed this way: http://coliru.stacked-crooked.com/a/6f09afcbd980dbaa  (P12 would probably be the person to ask to use that command line when clang is selected) --[[User:Cubbi|Cubbi]] ([[User talk:Cubbi|talk]]) 07:28, 9 January 2014 (PST)
 +
 +
::: I'm working on that. --[[User:P12|P12]] 16:34, 9 January 2014 (PST)
 +
::: I think this is fixed now. --[[User:P12|P12]] 03:18, 13 January 2014 (PST)
 +
 +
== example word size ==
 +
 +
The word "People" is not longer than 6 characters, this may lead to confusion with the example.
 +
 +
== compiler support ==
 +
 +
Mention this? https://stackoverflow.com/a/12665408/8954109 gcc4.8 is what comes with centos7. Still relevant --[[Special:Contributions/2001:480:91:FF00:0:0:0:16|2001:480:91:FF00:0:0:0:16]] 10:16, 18 October 2018 (PDT)

Latest revision as of 09:16, 18 October 2018

Can you mention how you built and tested your example code?

I have cut and pasted the example into an IDE and can't build it with the latest g++. I can build it with clang 3.3 but the example doesn't work.Arbalest 17:50, 2 September 2013 (PDT)

GCC does not (yet) implement any of the standard regex functionality. See here. --P12 19:38, 2 September 2013 (PDT)
Was the example code tested? If so, how was it built?Arbalest 20:18, 2 September 2013 (PDT)
I didn't write that example, but it compiles and runs just as described for me using clang++ with libc++ on Linux. --Cubbi 23:30, 2 September 2013 (PDT)
Yeah, I think I added that one, and I've been mostly relying on clang-3.3 with libc++ on a mac. --Nate 07:37, 3 September 2013 (PDT)
Example code fails to compile with any of the available compilers using "run this code" button as of Jan 9 2014
That is correct; we don't currently have an implementation available for online compilation with sufficient C++11 support. It can be compiled and executed this way: http://coliru.stacked-crooked.com/a/6f09afcbd980dbaa (P12 would probably be the person to ask to use that command line when clang is selected) --Cubbi (talk) 07:28, 9 January 2014 (PST)
I'm working on that. --P12 16:34, 9 January 2014 (PST)
I think this is fixed now. --P12 03:18, 13 January 2014 (PST)

[edit] example word size

The word "People" is not longer than 6 characters, this may lead to confusion with the example.

[edit] compiler support

Mention this? https://stackoverflow.com/a/12665408/8954109 gcc4.8 is what comes with centos7. Still relevant --2001:480:91:FF00:0:0:0:16 10:16, 18 October 2018 (PDT)