Add test for regex matching on multiline docs. Refs #36.