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