saltstack/salt — pull request #5307 by basepi (2013-05-29 22:19:15+00:00)
Title: Force autosign regex to match entire string, Fix #4851

According to the [docs](http://docs.python.org/2/library/re.html), the `\A` matches the beginning of the string and the `\z` matches the end of the string. Adding these forces a whole-string match, fixing this issue.