They both seem to work but I have been told you should use both when you\'re forming a RegExp?
\s contains all whitespace characters. For example, in Java, \s is [\t\n\x0b\r\f]. \t is just a single tab, so you don't need to use both.
\s
[\t\n\x0b\r\f]
\t