expand_string
string s = c.expand_string(_cmd.c_str());
_re(c.expand_string(_inv ? re + 1 : re, "^", "$"))
const std::string expand_string(const char * var,
p2 = expand_string(value, line);
static char *expand_string(char *, int);
value = expand_string(s, line);