Fix for older versions of python
Fix for older versions of python

On older versions of python where the built-in module re does not report
the position of the error, by default the first line of the regular
expression is reported.

sameersingh7/rstcheck,sameersingh7/rstcheck