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,
"*"
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 str
On Mon, 31 Jan 2011 09:28:25 +0200, Alex Folland
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 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 2011-01-31 0:50, Alex Folland wrote:
On 2011-01-30 21:47, Vladimir Panteleev wrote:
On Mon, 31 Jan 2011 03:57:44 +0200, 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 Visua
On 2011-01-30 21:47, Vladimir Panteleev wrote:
On Mon, 31 Jan 2011 03:57:44 +0200, 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 s
On Mon, 31 Jan 2011 03:57:44 +0200, 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
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
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 th