Quote:
Originally Posted by nKoan
You just brought the nerd content of this thread from 1/10 to 10/10 with that statement.
but I would have written it "..(.){2}.."
|
I'm pretty sure I wouldn't have mistaken "2~AAi9" for "Button".
Hell, as it is, my regex would match Bu%%on or something. It really should have been "\w{2}(\w){2}\w{2}" to make sure it limited only to word characters.
Or even better yet: "[A-Z][a-z]([a-z]){2}[a-z]{2}" to make sure platform specific word characters aren't allowed if the regex should be used on a wierd system.
11/10... nerd-overload!