On 2011-01-31 2:28, Alex Folland wrote:
scope(failure){writeln(Bad regex);break;}
Oh, that resets the program rather than continuing from where that line
was placed. The continue statement is what I wanted.
On Mon, 31 Jan 2011 09:28:25 +0200, Alex Folland lexlex...@gmail.com
wrote:
scope(failure){writeln(Bad regex);break;}
I think the proper construct here is a try/catch block.
--
Best regards,
Vladimirmailto:vladi...@thecybershadow.net
On 31.01.2011 4:57, Alex Folland wrote:
I wrote this little program to test for regular expression matches. I
compiled it with in Windows with DMD 2.051 through Visual Studio 2010
with Visual D. It crashes if regexbuf is just the single character,
*. Why? Shouldn't it match the entire
On 2011-01-31 15:43, Dmitry Olshansky wrote:
On 31.01.2011 4:57, Alex Folland wrote:
I wrote this little program to test for regular expression matches. I
compiled it with in Windows with DMD 2.051 through Visual Studio 2010
with Visual D. It crashes if regexbuf is just the single character,
*.
I wrote this little program to test for regular expression matches. I
compiled it with in Windows with DMD 2.051 through Visual Studio 2010
with Visual D. It crashes if regexbuf is just the single character,
*. Why? Shouldn't it match the entire string?
Visual Studio's debug output is
Alex Folland Wrote:
I wrote this little program to test for regular expression matches. I
compiled it with in Windows with DMD 2.051 through Visual Studio 2010
with Visual D. It crashes if regexbuf is just the single character,
*. Why? Shouldn't it match the entire string?
While it
On Mon, 31 Jan 2011 03:57:44 +0200, Alex Folland lexlex...@gmail.com
wrote:
I wrote this little program to test for regular expression matches. I
compiled it with in Windows with DMD 2.051 through Visual Studio 2010
with Visual D. It crashes if regexbuf is just the single character,
*.
On 2011-01-30 21:47, Vladimir Panteleev wrote:
On Mon, 31 Jan 2011 03:57:44 +0200, Alex Folland lexlex...@gmail.com
wrote:
I wrote this little program to test for regular expression matches. I
compiled it with in Windows with DMD 2.051 through Visual Studio 2010
with Visual D. It crashes if