I should make time to learn some regex, as in cases like this http://regexlib.com/ does not help that much.

Someone can give me the regex to matc a string, of which the last character will always be a number from 1 to 6?

yui-t1 - no match
yui-t1 - match
yui-t2 - match
yui-t3 - match
yui-t4 - match
yui-t5 - match
yui-t6 - match
yui-t7 - no match