docopt.cpp
                                
                                 docopt.cpp copied to clipboard
                                
                                    docopt.cpp copied to clipboard
                            
                            
                            
                        Empty lines do not break options sections.
There are several reasons why an options section can be split by an empty line, among them are:
- logically grouping;
- aesthetic reasons.
Such style is used, for example, in man program.
An example:
Options:
  --before-empty-lines  An option before empty lines.
  --after-empty-lines   An option after empty lines.
It is possible to play with this new regular expression here.
Although I think there's merit to this request, adding this test-case causes the Python version of docopt to fail. One of the missions is to maintain feature parity across the variants of docopt. Can you post this in the docopt-py forum; if it's accepted there, then I can accept your patch as the port of that feature.
I have created a pull request in the main docopt repository.
Something went wrong with Boost regexs. Other tests are okay.