Question: In an extended regular expression, you would use (pattern){3} to match three instances of the pattern. How would you match the same thing with an extended glob?

  1. 3(pattern)
  2. {0,3}(pattern}
  3. Occurrence quantifiers are not supported in Bash's version of extended globs, so this is not possible.
  4. {3}(pattern})

Answer: The correct answer of the above question is Option C:Occurrence quantifiers are not supported in Bash's version of extended globs, so this is not possible.