Walter (Phobos): RegExp and dotmatchlf

Walter Bright newshound1 at digitalmars.com
Sat May 5 10:15:58 PDT 2007


Unknown W. Brackets wrote:
> Well, in PCRE you use something like this:
> 
> ~a(.+)b~s
> 
> Where s is also known as "dotall".  So, why not add it as a flag in the 
> constructor?  I'm pretty sure I've seen it used outside Perl too.

I've never seen it as a regex constructor flag. Regexes are standardized 
enough I am very reluctant to create a unique variant.



More information about the Digitalmars-d mailing list