You could also use the regex `/\Ahttp/`, and you wouldn't have to specify the `multiline` option. `\A` means "start of string", regardless of whether it has multiple lines.