Meaning of Regex modifiers in pattern - "s", "m", "i", "U"
Would you please explain the functions of regex modifiers s, m, i and U ? What they do in the pattern ?
s - pattern also matches newlines
m - used to perform a multiline match
i - pattern matches both upper and lower case letters, case insensitive
U - inverts the "greediness" of matching