fixed 'autofill with regex'