Boost logo

Boost :

From: Boris Kolpackov (boris_at_[hidden])
Date: 2005-12-05 10:17:59


Good day,

We observe a regression in the regex library compared to 1.32.0.
The following program:

#include <string>
#include <iostream>
#include <boost/regex.hpp>

int
main ()
{
  using std::string;
  using boost::regex;
  using boost::regex_merge;

  regex expr ("(\\.(idl|cidl|cdl))?$");

  std::cerr << regex_merge (
    string ("test.cidl"),
    expr,
    string ("E.idl"),
    boost::match_default | boost::format_all ) << std::endl;
}

prints "testE.idlE.idl" when compiled and linked against 1.33.x
and "testE.idl" against previous versions.

hth,
-boris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk