I'm getting the error
Code:
terminate called after throwing an instance of 'boost::regex_error'
  what():  Invalid content of repeat range
at this line:
Code:
boost::regex bracketRule(".*?\{((.|\n)*?)}", boost::regex::icase);
I'm assuming this is a problem with a rule that repeats indefinably (or some such rule error) based on that error message. Honestly, I'm no regex wizard but what I am trying to do here is parse something like:
Code:
{
    name = default
    cost  = 4
}

{
    name = default2
    cost = 6
}
to get a result of:
Code:
    name = default
    cost = 4
and,
    name = default2
    cost = 6