title: split word in Ruby for counting
body: <p>When I split a string "hello world /n" with</p>
  
  <pre><code>"hello world \n".scan(/\w+/)
  </code></pre>
  
  <p>I get <code>["hello", "world"]</code></p>
  
  <p>I would like to count \n or \t as string as well . </p>