blob: b9bd62ac4412e4ecae294030e9e34627f27678e6 [file] [log] [blame] [raw]
import std.stdio;
import std.demangle;
import std.regex;
void main() {
string dem(RegexMatch!(string) m)
{
return demangle(m.hit);
}
foreach (line; stdin.byLine()) {
string s2 = cast(string)line;
auto s = replace!(dem)(s2, regex("[_$a-zA-Z][_$a-zA-Z0-9]*", "g"));
writeln(s);
}
}