Implement \t, \n, \r, \f, \v escapes in regular expressions.