Posted by: Pdfprep
Post Date: November 26, 2020
Which parts of the text are matched in the following regular expression?
$text = <«EOT
The big bang bonged under the bung.
EOT;
preg_match_all(‘@b.n?g@’, $text, $matches);
A . bang bong bung
B . bang bonged bung
C . big bang bong bung
D . big bang bung
Answer: C
Leave a Reply