Click here to Skip to main content
15,891,513 members

Comments by MirageCoder (Top 11 by date)

MirageCoder 25-Feb-13 10:22am View    
Sergey, thanks for your reply.

I hate using the designer for the reasons you've just pointed out; the code is just an example. I'm actually on your side when it comes down to manual creation of generic web forms (user) controls. But that's a different subject.
MirageCoder 25-Feb-13 10:16am View    
OriginalGriff, thanks for your reply.

I think I kindof agree; it's half a discussion starter / half a question. I was curious about a shorter construction so that was my initial thought. I'll consider using the forum next time; I'm new to posting here.

Edit: considering your argument on the construct, I hadn't put thought into 'var' and abstract classes. That's the reason I was looking for. Now I actually feel silly for thinking such a construct would be acceptable and logical.
MirageCoder 4-Feb-13 8:46am View    
Just to be sure that I have learned something today, if I'm not mistaken the syntax is as follows:

(?=.*([a-z].*?){3,})

Look ahead (?=) in any character in a given range regardless of its length (.*) and find an instance of a lowercase character (([a-z]) regardless of which one and what position it's at (.*?)). Repeat the same process at least three times ({3,}). Correct, right?
MirageCoder 4-Feb-13 8:36am View    
Agreed. But thanks for lending a hand anyways!
MirageCoder 4-Feb-13 8:29am View    
Gotcha, I accidentally copy + pasted the '.' at the end of your expression. Zoltán, thank you very much for your assistance. I owe you one!

Zoltán, can you slap your expression in your initial solution post? I'll mark it as 'Accepted' then!