804c4c678d
The old regex turns 'a/b/c/' into 'a/' which is not correct. The new regex is directory aware.
The old regex turns 'a/b/c/' into 'a/' which is not correct. The new regex is directory aware.