g : matches the pattern multiple times. i : makes the regex case insensitive. m : enables multi-line mode. ... u : enables support for unicode. s : short for single line, it causes the . to also match new line characters.