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