What does the ?symbol mean in the following grep regula…

What does the ?symbol mean in the following grep regular expression:
grep ‘^d[aei]\\?d$’ /usr/share/dict/words

What does the ?symbol mean in the following grep regular expression:
grep ‘^d[aei]\\?d$’ /usr/share/dict/words

A.
Match the preceding character set ([aei]) one or more times.

B.
Match the preceding character set ([aei]) zero or more times.

C.
Match the preceding character set ([aei]) zero or one times.

D.
Match a literal ?symbol.



Leave a Reply 0

Your email address will not be published. Required fields are marked *