import std.stdio, std.regex, std.algorithm;
void main(string[] args)
{
auto r = regex("htt+p");
["http","httpp","httppp", "htttp"]
.each!(a => (matchAll(a, r).hit == "http")
.writeln
);
}
aW1wb3J0IHN0ZC5zdGRpbywgc3RkLnJlZ2V4LCBzdGQuYWxnb3JpdGhtOwoKdm9pZCBtYWluKHN0cmluZ1tdIGFyZ3MpCnsKICAgIGF1dG8gciA9IHJlZ2V4KCJodHQrcCIpOwogICAgWyJodHRwIiwiaHR0cHAiLCJodHRwcHAiLCAiaHR0dHAiXQogICAgICAgIC5lYWNoIShhID0+IChtYXRjaEFsbChhLCByKS5oaXQgPT0gImh0dHAiKQogICAgICAgIC53cml0ZWxuCiAgICApOwp9