If you have a file named `bar.png` and one named `foo-bar.png` the `foo-bar.png` file sometimes gets the incorrect hash since the regex (`\bbar.png\b`). This could potentially be solved by simply replacing the longest name first.