Fix regex to properly ignore comments
Merge pull request #8 from karenetheridge/topic/fix_comments

Fix regex to properly ignore comments