Multiple choice technology programming languages

Which modifier can be used when matching in Perl to ignore case?

  1. s

  2. v

  3. i

  4. c

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

In Perl regular expressions, the i modifier makes the match case-insensitive. For example, /pattern/i will match regardless of letter case. The s, v, and c are not valid case-insensitivity modifiers in Perl regex.