Remove unneeded use of the multiline flag

The regex doesn’t contain `^` or `$` so why bother setting the `m` flag?