title: Exact word conflict word with dash
body: <p>Originally, I use was just word boundary for exact word match - <a href="https://regex101.com/r/M97FkV/4" rel="nofollow noreferrer">https://regex101.com/r/M97FkV/4</a></p>
  
  <p><strong>Update 1</strong>: </p>
  
  <p>1) Exact word match with punctuation inside word like <code>20-year-old</code></p>
  
  <ul>
  <li>Search <code>year's</code>, only <code>year's</code> exact is match </li>
  </ul>
  
  <p>-- Search <code>year</code> alone, will not match <code>year's</code></p>
  
  <ul>
  <li>If I search <code>20-year-old</code>, exact <code>20-year-old</code> is match</li>
  </ul>
  
  <p>-- Searching <code>20</code> or <code>year</code> or <code>old</code> will not match <code>20-year-old</code></p>
  
  <p>2) exact match word before or after punctuation</p>
  
  <ul>
  <li>If I search <code>old</code>, exact word or before or after punctuation <code>old</code> <code>.old</code> <code>old.</code> <code>-old</code> <code>old-</code> <code>_old</code> <code>old_</code>  <code>old'</code>  <code>'old</code> these will match.</li>
  </ul>
  
  <p>-- <code>old</code> will not be match with word with punctuation in it <code>20-year-old</code>.</p>
  
  <p>Our last Progress</p>
  
  <p><a href="https://regex101.com/r/M97FkV/15" rel="nofollow noreferrer">https://regex101.com/r/M97FkV/15</a> - solve (2) but not (1)</p>
  
  <p><a href="https://regex101.com/r/M97FkV/16" rel="nofollow noreferrer">https://regex101.com/r/M97FkV/16</a> - solve (1) but not (2)</p>