Walter (Phobos): RegExp and dotmatchlf

yidabu yidabu.douspam at gmail.com
Fri May 4 03:12:11 PDT 2007


Kris Wrote:

> std.RegExp has an attribute 'dotmatchlf' for including newlines in a match
> for '.' but there's currently no way to enable that using the RegExp()
> constructor. Is this an oversight? Or is there another way to enable it?
> Would be handy to have that instead of writing (.|\n)* all the time ...
> 
> BTW, I thought that [.\n]* would be equivalent to (.|\n)* as far as
> searching is concerned, but it doesn't give the same results ...
> 
> Cheers,
> 
> - Kris
> 
> 


fixed?  
seems not!



More information about the Digitalmars-d mailing list