docopt/docopt.cpp — pull request #3 by jaredgrubb (2014-08-27 05:51:36+00:00)
Title: Fix #1

regex_iterator apparently will get stuck on an empty-match. I added a 'break' to detect when we hit the end of line rather than infinitely matching against it.

Second, there was a unit test failure related to option groups without newlines between them. I adjusted the regex to account for that.

Third, a simple warning fix.