olkarls/has_permalink — Issue #7: Fix auto duplication is not smart if there are 10 or more duplicates.
Author: jimishjoban
Created: 2012-02-02 15:14:52+00:00
State: open

The regex in fix_duplication method must catch integer instead of digits...

So somethink like james-bond-10 is not caught as the regex tries to look simply for a digit.... and hence wont use permalink james-bond-11 for the 11th duplicate.