g — Global
Find all matches instead of stopping after the first.
i — Ignore case
Case-insensitive matching for letters.
m — Multiline
^ and $ match line starts/ends as well as string edges.
s — Dotall
Dot (.) also matches newline characters.
g, i, m, s — what each toggle changes.
Find all matches instead of stopping after the first.
Case-insensitive matching for letters.
^ and $ match line starts/ends as well as string edges.
Dot (.) also matches newline characters.