1 Jul
2005
1 Jul
'05
5:48 p.m.
On 7/1/05, John Maddock
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.
Cool - thanks! Stuart