Overrides the newline definition set when creating a new [type@GLib.
Regex], setting the `\n` character as line terminator.