Match non-whitespace characters instead of non-space characters

This change fixes an issue with HAML (#8), but it works equally well with ERB. When parsing this line of HAML:

    -# Template Dependency: things/_thing

The old pattern would match: `things/_thing\n` (trailing newline) and the new pattern matches `things/_thing`.

UPDATE: I added tests in #22.