News for hackers. Stuff that matters.
Re:GitHub under ongoing DDoS attack by teddyh on Sunday March 29, 2015 @07:07AM (#9284469)
Taking your confusion at face value, what you should have done is to use a question mark ‘?’ instead of a plus sign ‘+’. Otherwise, the string which oneeyedpigeon posted also matches your regexp.
Re:GitHub under ongoing DDoS attack by ColinWright on Sunday March 29, 2015 @07:14AM (#9284484)
Hah! That explains it! Yes, the "+" usually means "1 or more" rather than the "optional" which I assumed. I rarely use either, because in my computing history I've used RexExp engines that didn't use those symbols consistently.

I'll leave my comment there as a testament to writing from memory and experience, rather than taking the time to check modern standards, and how things might have changed.

Thank you.

Re:GitHub under ongoing DDoS attack by yen223 on Sunday March 29, 2015 @08:00AM (#9284561)
Now we have 2 problems.