Subject: [Boost-bugs] [Boost C++ Libraries] #3459: Xpressive - Redundant search pattern causes fatal crash
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-17 00:08:52
#3459: Xpressive - Redundant search pattern causes fatal crash
---------------------------------------------------+------------------------
Reporter: Eric Schwarz <master.universe@â¦> | Owner: eric_niebler
Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: xpressive
Version: Boost 1.40.0 | Severity: Showstopper
Keywords: Xpressive core dumped fatal crash |
---------------------------------------------------+------------------------
Using Xpressive with dynamic regexes.
If a ':' appears two times in a search pattern expression the programm
will crash.
One ':' must be at the very beginning the other at the end of the
expression.
This may hold true for other cases, however not tested yet.
#include <string>
#include <iostream>
#include <boost/xpressive/xpressive.hpp>
using namespace std;
using namespace boost;
using namespace boost::xpressive;
int main()
{
sregex rex = sregex::compile( "[:digit:]" );
return 0;
}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3459> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC