Allow regular expressions to be "printed".

This commit is contained in:
John Wiegley 2009-02-07 00:04:43 -04:00
parent 72b04f69e5
commit 47725095da

View file

@ -1663,6 +1663,10 @@ void value_t::print(std::ostream& out,
out << as_string();
break;
case MASK:
out << '/' << as_mask() << '/';
break;
case SEQUENCE: {
out << '(';
bool first = true;