Which parts of the text are matched in the following regular expression?
$text = << The big bang bonged under the bung. EOT; preg_match_all('@b.n?g@', $text, $matches);
Suggested Answer: C
Get Premium 200-710 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
GE
Georgeanna
1 year ago
I'm surprised "bonged" is included, thought it wouldn't match!
AM
Amalia
1 year ago
Wait, does "bonged" even count?
AL
Alise
1 year ago
I think it should be option B instead.
JE
Jean
1 year ago
Definitely option A!
LI
Lisandra
1 year ago
The regex matches "bang", "bong", and "bung".
EV
Eve
1 year ago
I’m confused about the "n?" part. Does that mean it can match with or without the "n"? If so, I think it should include "bang" and "bung" for sure.
CH
Christiane
1 year ago
I feel like "bonged" might be tricky because of the extra "ed" at the end. I’m leaning towards option A or B.
AD
Adela
1 year ago
I remember practicing a similar question where we had to identify matches based on regex patterns. I think "bang" and "bong" are definitely in there.
AL
Alica
1 year ago
I think the regex matches "bang", "bong", and "bung", but I'm not sure if "bonged" fits since it has an extra letter.
AS
Ashton
1 year ago
I'm a little confused by the RESTCONF reference. I'll need to make sure I understand how that protocol works in order to answer this question correctly.
EV
Evangelina
1 year ago
Software-defined networking seems like the most likely answer here. It allows for centralized policy management while being independent of the underlying hardware.
BE
Beckie
1 year ago
Okay, I remember learning about the spectroscopic ratio in class. I think it has to do with the number of channels or wavelengths supported. Let me review my notes.