Compiling a simple program using std.regex:

import std.regex;
import std.stdio;

void main(string[] args) {
   auto re = regex(args[1], "g");
   foreach(line; stdin.byLine)
       if(line.match(re))
           writeln(line);
}


Renders a 1.6 megabyte binary. Is that normal?

Reply via email to