in reply to •Re: Regex matching a string beginning with "root: " but not containing another string
in thread Regex matching a string beginning with "root: " but not containing another string

That would not work correctly given notmyself@domain.of-my.own.doing. You need to put whatever characters (or \z) delimit the email address around the \Q \E.
  • Comment on Re^2: Regex matching a string beginning with "root: " but not containing another string