title: Linux RegEx Grep Repeat character from n to m times
body: <p>I have a problem with this Linux command:</p>
  <blockquote>
  <p>ls | grep -E 'i{2,3}'</p>
  </blockquote>
  <p>.It should take a file that has at least 2 <code>i</code> and max 3 <code>i</code>, but it doesn't work.</p>
  <p>This is the output</p>
  <p>ls:</p>
  <blockquote>
  <p>life.py, viiva.txt, viiiiiiiiiva.txt</p>
  </blockquote>
  <p>grep:</p>
  <blockquote>
  <p>viiva.txt, viiiiiiiiiva.txt (with the first 3 I highlighted)</p>
  </blockquote>
  <p>Thanks for the help.</p>