
Andriy Tylychko (mail.ru) wrote:
Moving this discussion from boost-users to boost-development...
Thanks for explanation, Roman.
I've checked this on boost v.1.33.1, but only unmatched "]" is allowed, construction of boost::regex("}") claims unmatched "}". Is it by design or already fixed in v.1.34?
I had to handle special characters, so I just "copy/paste"ed from docs. And so, I didn't handle "}]". Do you think it's a good idea to expand description of special characters in docs to include explanation about "}]" characters? As I checked, both unmatched "]" (and probably "}" in 1.34) and unmatched but escaped "\}\]" are allowed and have the same effect. It was very useful for me, so maybe it's worth to mention in docs too.
I'll take a look at this, there are no changes in Boost-1.34 BTW. John.