Why does "*" cause my tiny regextester program to crash?

Vladimir Panteleev vladimir at thecybershadow.net
Mon Jan 31 06:28:48 PST 2011


On Mon, 31 Jan 2011 09:28:25 +0200, Alex Folland <lexlexlex at gmail.com>  
wrote:

> scope(failure){writeln("Bad regex");break;}

I think the proper construct here is a try/catch block.

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d-learn mailing list