Meaning of Regex modifiers in patern - "s", "m", "i", "U"

Would you please explain the functions of regex modifiers s, m, i and U ? What they do in the pattern ?
posted on 09.06.2019 at 18:23
0pnshow more
onefiveonefive
Hi,

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
posted on 14.06.2019 at 14:36
0pnshow more
TimTim
share on facebookshare on twitter
2019 AnswerTabsTermsContact us
This site uses cookies to improve your experience, for analytics and ads. By continuing to browse this site you agree to our use of cookies.