Provided auto-rename patterns function