On Wednesday, 24 July 2013 at 17:26:58 UTC, Peter Alexander wrote:
On Wednesday, 24 July 2013 at 17:13:10 UTC, Jakob Ovrum wrote:
        auto newlinePattern = ctRegex!"[\r\n]+";

That will swallow empty lines.

Yeah, it's just an example. The specific pattern obviously depends on the exact behaviour you want, but I think any desired behaviour regarding newlines can be trivially expressed with regex.

Reply via email to