permalink should contain also [0-9] digits ('\d' added)

This is to mimic github's behaviour