add test for broken markdown regexp
force markdown regexp to match the full extension
Merge pull request #3147 from blbradley/markdown-file-ext-regexp