fixing the regexp that captures \sections

previously it didn't capture unnumbered sections or chapters
Merge pull request #147 from pkazmierczak/small-regexp-fix

fixing the regexp that captures \sections