Improve heading regexp used for imenu index creation
commit6f265704d3ebb6e64f959ee2bae4a639da809507
authorJason Blevins <jrblevin@sdf.org>
Thu, 24 Jan 2013 22:23:23 +0000 (24 17:23 -0500)
committerJason Blevins <jrblevin@sdf.org>
Thu, 24 Jan 2013 22:32:50 +0000 (24 17:32 -0500)
treeded36efe84ee81312090151106c964fa9d1bee29
parente9ccac11887c3b72f9faa5f45a1e3339293551d2
Improve heading regexp used for imenu index creation

For atx-style headers, we should not include any leading or trailing
whitespace or trailing hashes.
markdown-mode.el