This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Regex back-reference support
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Tim Shen <timshen91 at gmail dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 10 Aug 2013 10:58:06 +0200
- Subject: Re: [Patch] Regex back-reference support
- References: <CAPrifD=AyZ7GuSgDr0q0nbKFZ3aYWXUL3ZQcytYKLNfUeDq3dg at mail dot gmail dot com>
On 08/10/2013 10:37 AM, Tim Shen wrote:
+ regex_match(s, *(&s+1)-1, m, re);
I don't like these *(&s+1)-1.
Paolo.