example string:
std::string sentence = "Hello {Bobby}, hows {Johns}?."
I want to be able to grab everything inside the curly braces using boost::regex, any help or guidance would be appreciated.
the string can contain {bobby|john|cindy} or {bobby||cindy} or {{bobby}} in which it'll be {bobby}. I'm trying to figure out the regex for that.
Thanks.