Change regex for usage section

I fixed #48 and added some testcases. Basically, the regex was pretty "naive" and was searching until it found the program's name. Now, it looks for the program's name at the line's start and then grabs everything until its end. That means that the regex is no longer multiline.