newsapps/beeswithmachineguns — pull request #37 by cjbehm (2012-08-24 15:40:34+00:00)
Title: Enhanced URL regular expression and fix for minor bug with the -n parameter

We definitely wanted the ability to make requests to valid URLs so that trailing slash regular expression was a problem. I've replaced it with one that should catch "bare" URLs (e.g. http://somedomain.com) but allow things like http://somedomain.com/afile.html

Also, in testing that fix I kept getting a confusing error about NoneType and it turns out that when you pass -n 1 to ab, it doesn't return data in the format that bees expects. To work around that I included a requirement that -n is at least 2.