BTDev/BerryTube — pull request #8 by calzoneman (2014-09-03 17:44:38+00:00)
Title: Replace [s]{0,1} with s?

The ? symbol in JavaScript regexes matches exactly 0 or 1 of the previous token. It has higher precedence than concatenation, which means that "https?" means "http followed optionally by an 's'".