fixed whitespace lol
including $self instead of source.perl
regex $ treated better and ${foo} recognised
Closes #6 and #4