On Wed, 28 Mar 2012 11:30:40 +0200, James Blewitt wrote:
How can I put code into my posts without it looking bad?
Depends on your newsreader I guess. Using spaces instead of tabs and
keeping linelengths below 80 usually makes the formatting ok.
On Wed, 28 Mar 2012 11:25:40 +0200, James Blewitt wrote:
I am having a problem with regexes.
The following code causes a compilation error, whereas if I comment out
the regex outside of main and comment in the regex inside main, it does
compile.
I'm using DMD v2.058.
import std.regex;