title: Creating an array that only contains the letters from a string
body: <p>So I'm trying to change the string <code>\t\n</code> into an array of all of word characters in the string. The array I want would look like this: <code>["t","n"]</code>.</p>
  
  <p>So far I've tried:</p>
  
  <pre><code>input = " \t\n"
  array = input.scan(/\w/)
  </code></pre>
  
  <p>I've tried this regular expression on this string on rubular and it matches with all of the word characters as I'd like it to.</p>
  
  <p>However, when using <code>input.scan(/\w)</code> an empty array is returned.</p>
  
  <p>Please forgive my ignorance as I'm still new to this, but why is this?</p>