make headings have anchors. lots of test changes to introduce the anchors.
Converted all string regexes to use rx.
rx commits from cantsin
Merge pull request #24 from cantsin/rx

Converted all string regexes to use rx.