use method of introspection that works with ruby 1.8.7
add utf-8 encoding token
remove uneccessary capture group from regex