g modifier: global. Finds all matches instead of stopping after the first
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
u modifier: unicode. Treats the pattern and subject as UTF-16
s modifier: single line. Allows a dot to match line terminators