Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-07-01 11:32:09


> Should an empty boost::regex raise a 'bad expression' exception when
> you assign it to another boost::regex object? It seems to me that an
> empty expression can't be bad - it hasn't had the chance to be good OR
> bad yet :-)

It's basically a bug : and it's fixed in 1.33. Copying will also be a lot
less expensive in 1.33 since it uses copy-on-write.

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net