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.
If you have a file named
bar.pngand one namedfoo-bar.pngthefoo-bar.pngfile sometimes gets the incorrect hash since the regex (\bbar.png\b).This could potentially be solved by simply replacing the longest name first.