title: detect a pattern in String using str_detect
body: <p>I'm trying to detect if a string contains a specific pattern using <code>str_detect</code>. The pattern I have is a series of "...." - exact number of dots is unknown. I'm trying to use <code>str_detect</code> as below....</p>
  
  <p>However, in this particular case, <code>str_detect</code> returns TRUE. Wondering where I am doing it wrong and if <code>str_detect</code> is the right function to use at all? Hoping someone here can help?</p>
  
  <pre><code>library(stringr)
  dot_pat="\\.........................";
  str="The primary.objective is of the study."
  str_detect(str,dot_pat)
  </code></pre>
  
  <p>This returns TRUE. I'm expecting FALSE since the dots in <code>str</code> do not follow the pattern.</p>
  
  <p>Thanks in advance, simak</p>