Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 101-500 Topic 1 Question 93 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 93
Topic #: 1
[All 101-500 Questions]

What does the + symbol mean in the following grep regular expression:

grep '^d[aei]\+d$' /usr/share/dict/words

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Thea
1 months ago
Wait, is the + symbol actually a secret morse code message? I should have brought my tin-foil hat to this exam!
upvoted 0 times
Dorcas
5 days ago
No, it's not a secret message, just a regular expression symbol.
upvoted 0 times
...
Edelmira
16 days ago
A) Match the preceding character set ([aei]) one or more times.
upvoted 0 times
...
...
Carlee
1 months ago
Selecting option D would be a bit of a 'plus' sized mistake. The + symbol here is a quantifier, not a literal character to be matched.
upvoted 0 times
...
Paola
1 months ago
Option C is tempting, but the + symbol is not for zero or one matches. That would be the ? symbol. The + is clearly for one or more matches.
upvoted 0 times
Eve
4 days ago
A) Match the preceding character set ([aei]) one or more times.
upvoted 0 times
...
...
Latanya
1 months ago
I was about to choose option B, but then I realized that zero or more matches wouldn't make sense for this expression. The + symbol is definitely for one or more matches.
upvoted 0 times
Fabiola
7 days ago
Yes, the + symbol indicates one or more matches in this context.
upvoted 0 times
...
Hector
13 days ago
I agree, option A makes sense for this expression.
upvoted 0 times
...
Katy
18 days ago
A) Match the preceding character set ([aei]) one or more times.
upvoted 0 times
...
...
Jennifer
2 months ago
The + symbol in the given grep regular expression means that the preceding character set [aei] should be matched one or more times. This is the correct answer, option A.
upvoted 0 times
Candida
1 months ago
That makes sense, thanks for clarifying.
upvoted 0 times
...
Candida
1 months ago
A) Match the preceding character set ([aei]) one or more times.
upvoted 0 times
...
...
Glory
2 months ago
I agree, A makes sense based on the regular expression provided.
upvoted 0 times
...
Brinda
3 months ago
I think it's A too, because the + symbol means one or more times.
upvoted 0 times
...
Jeffrey
3 months ago
A) Match the preceding character set ([aei]) one or more times.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77