Question: What is the purpose of adding a lowercase "u" as a modifier after the final delimiter in a Perl-compatible regular expression?

  1. It makes the dot metacharacter match anything, including newline characters.
  2. It makes the pattern match uppercase letters.
  3. Both the pattern and subject string are treated as UTF-8.
  4. It inverts the greediness of the quantifiers in the pattern so they are not greedy by default.

Answer: The correct answer of the above question is Option C:Both the pattern and subject string are treated as UTF-8.