Where do you test syntax of D regexp online?
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Mar 9 08:47:18 PST 2017
On Thursday, 9 March 2017 at 16:40:13 UTC, Suliman wrote:
> How should I write to file result without \r\n\ symbols?
>
> auto x = content.matchFirst(bigCodeBlock);
>
> File f = File("foo.txt", "w");
> f.write(x);
Just
f.write(x[0]);
to write out the whole hit instead of the collection of
references.
More information about the Digitalmars-d-learn
mailing list