The /s modifier in Perl regex makes the dot (.) metacharacter match any character including newline. Without /s, dot matches any character EXCEPT newline.
In Perl regex, the /s modifier changes how the dot metacharacter behaves: normally . matches any character except a newline, but with /s it matches truly any character, including newline. The other letters (v, i, c) are not regex modifiers with this meaning — i for instance controls case-insensitivity, not newline matching.