Multiple choice technology programming languages

Which modifier can be used when matching in Perl to match any character?

  1. S

  2. V

  3. I

  4. C

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The /s modifier in Perl enables '.' to match any character including newline by default. Without /s, '.' matches all characters except newline, so this modifier is essential for multiline string processing. Other options like /m, /i, and /x have different purposes for matching behavior.