preg_match_all(‘@b.n?

Posted by: Pdfprep Category: 200-710 Tags: , ,

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

Your email address will not be published.