persistent byLine

Jakob Ovrum jakobovrum at gmail.com
Wed Jul 24 10:53:36 PDT 2013


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.


More information about the Digitalmars-d mailing list