regex to detect variable names was broken

when rendering file names, regex was broken when directory path contains pluses.
Merge pull request #45 from gotcha/master

when rendering file names, regex was broken when directory path contains pluses.