ryanb/dotfiles — pull request #21 by zhangsu (2012-04-14 19:38:49+00:00)
Title: Enforce strict `.erb` filename matching

It is possible that `.erb` occurs in the middle of a filename, e.g.:
`'gitconfig.erb.tmp'.sub('.erb', '') # => "gitconfig.tmp"`
Also, the `.` in the pattern `/.erb/` is a wildcard.