Use region for string matching to avoid nested "#"
Merge pull request #3 from couchand/patch-1

Use region for string matching to avoid nested "#"