Regex Matching Modes?

Regex Matching Modes?

Does Zoho support these modes in the replaceAll() and replaceFirst() regex engines?
  • /i makes the regex match case insensitive.
  • /s enables "single-line mode". In this mode, the dot matches newlines.
  • /m enables "multi-line mode". In this mode, the caret and dollar match before and after newlines in the subject string.
  • /x enables "free-spacing mode". In this mode, whitespace between regex tokens is ignored, and an unescaped # starts a comment.
  • /g - Allow global matching (all occurrences of a pattern in a string).
If so, how do you use them?  If not, how do you do a replaceAll() on a multiline string?