Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Arista Exam ACE-P-ALE1.04 Topic 3 Question 87 Discussion

Actual exam question for Arista's ACE-P-ALE1.04 exam
Question #: 87
Topic #: 3
[All ACE-P-ALE1.04 Questions]

In regular expressions, to what does greedy vs. lazy refer?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

King
6 days ago
Woah, this one's tricky! I'm pretty sure it's about whether the pattern tries to match as much as possible (greedy) or as little as possible (lazy).
upvoted 0 times
...
Mary
6 days ago
That makes sense. It's about the pattern quantifiers stopping at whitespace.
upvoted 0 times
...
Hubert
7 days ago
I think it refers to how many times the pattern will match on a line.
upvoted 0 times
...
Aliza
7 days ago
Hmm, I think this is about the greediness of the pattern quantifiers. B looks like the right answer to me.
upvoted 0 times
...
Mary
8 days ago
What does greedy vs. lazy refer to in regular expressions?
upvoted 0 times
...
Thad
10 days ago
Hmm, I see. So it's about the pattern quantifiers stopping at whitespace then?
upvoted 0 times
...
Sabine
12 days ago
I believe it actually refers to how many times the pattern will match on a line.
upvoted 0 times
...
Thad
25 days ago
I think greedy vs. lazy refers to how many lines in a file the pattern will match.
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