title: Regex matching or array search
body: <p>Suppose I have 60 words and I want to check if an input is any of these words
  <br>
  <br>
  Which is faster:<br>
  1) making a regex and ORing the words in it<br>
  2) looping on an array and searching?</p>