PrepAway - Latest Free Exam Questions & Answers

Which sentence describes the following regular expression match? <code> preg_match(‘/^\d*(?:\.[0-9

Which sentence describes the following regular expression match?
<code>
preg_match(‘/^\d*(?:\.[0-9]+)?$/’, $test);
</code>

PrepAway - Latest Free Exam Questions & Answers

A.
It matches float numbers with thousand separators.

B.
It matches float numbers without thousand separators.

C.
It matches binary integer numbers.

D.
It matches any string.

E.
It does not match anything

One Comment on “Which sentence describes the following regular expression match? <code> preg_match(‘/^\d*(?:\.[0-9


Leave a Reply

Your email address will not be published. Required fields are marked *