Talk:cpp/regex/syntax option type
From cppreference.com
Shouldn't it say <regex>
instead of <regex.h>
? --- Undeterminant 21:14, 24 March 2012 (PDT)
- Fixed. -- P12 03:07, 25 March 2012 (PDT)
[edit] [Run this code] yields wrong results in all versions of GCC
GCC 4.9:
ECMA (depth first search) match: zzxayy POSIX (leftmost longest) match: zzxayy
GCC 5.2:
ECMA (depth first search) match: zzxa POSIX (leftmost longest) match: zzxa
GCC 11.1:
ECMA (depth first search) match: zzxa POSIX (leftmost longest) match: zzxa
clang 5.0:
ECMA (depth first search) match: zzxa POSIX (leftmost longest) match: zzxayy
--77.11.236.243 23:05, 5 September 2021 (PDT)mqnc