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?
- 3(pattern)
- {0,3}(pattern}
- Occurrence quantifiers are not supported in Bash's version of extended globs, so this is not possible.
- {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.