Enable multi-line display math.

To display math regex, add
 * 's' flag, which allows '.' to match newlines,
 * 'U' flag, which makes expression ungreedy, because we don't want a
   bunch of display math blocks treated as one.