- It makes the dot metacharacter match anything, including newline characters.
- It makes the pattern match uppercase letters.
- Both the pattern and subject string are treated as UTF-8.
- It inverts the greediness of the quantifiers in the pattern so they are not greedy by default.
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.