Force autosign regex to match entire string, Fix #4851