What is the new value of $_ after this substitution?

Given $_ = “alphabetais”, consider the following substitution:
s/a+.*/greektome/gi;
What is the new value of $_ after this substitution?

Given $_ = “alphabetais”, consider the following substitution:
s/a+.*/greektome/gi;
What is the new value of $_ after this substitution?

A.
isgreektome

B.
ISGREEKTOME

C.
greektome

D.
alphabetais



Leave a Reply 0

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