Fix `.` in attribute name with appropriate regexp
Merge pull request #291 from duncanbeevers/fix-dot-in-attr-regexp

Fix `.` in attribute name with appropriate regexp