This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Fix empty grouping problem in regex
- From: Tim Shen <timshen91 at gmail dot com>
- To: "libstdc++" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 22 Aug 2013 09:08:30 +0800
- Subject: Re: [Patch] Fix empty grouping problem in regex
- References: <CAPrifDmNAgtSb_Jc-VBXA=SzcQssdbraEjTLOsDw2f4VGwqn3A at mail dot gmail dot com> <20130819101733 dot GQ1814 at tucnak dot redhat dot com> <CAPrifDk5jJ583HJvZcvRX_UWzGy83jRXXSuUmU+DpMd+S5K6UQ at mail dot gmail dot com> <CAPrifDnoXme9uptKKNfiQPU0ghRSssGQ0oSrF-Tz7Di5P-1+aA at mail dot gmail dot com> <CAH6eHdSm3kLzK0CdGShsfhC+RT9OXRDkdFp+3ikxojARtQ4wgA at mail dot gmail dot com>
Change vector::at() call to vector::operator[]().
Booted and tested with -m32, -m64 and -m64 debug-mode under x86_64
GNU/Linux and committed(r201914).
--
Tim Shen