Message ID | AANLkTikD2z17dn=nyUSVpQuqgWxaWWk-zV2ES6h4rnrZ@mail.gmail.com |
---|---|
State | New |
Headers | show |
Index: include/bits/regex.h =================================================================== --- include/bits/regex.h (revision 165437) +++ include/bits/regex.h (working copy) @@ -287,7 +287,7 @@ namespace std const ctype<_Ch_type>& __ctype(use_facet< ctype<_Ch_type> >(_M_locale)); - if (__ctype.is(__c, __f)) + if (__ctype.is(__f, __c)) return true; // special case of underscore in [[:w:]]