edavis10/redmine — pull request #56 by create-philipp-ullmann (2013-02-07 08:19:14+00:00)
Title: Fixed token key regex issue

I had problems with the following regex:

key =~ /\A[a-f0-9]+\z/

* On a match the index is returned but an index of zero == false.
* The range "a-f" is not enough