Non-Capturing Group(?:^(?=.*sm-mta)|\G(?!^)) 1st Alternative^(?=.*sm-mta) ^start of line
Positive Lookahead(?=.*sm-mta) .*any character (except for line terminators), repeated any number of times
sm-mtathe literal text sm-mta (case sensitive) \Gstart of current search
.*?any character (except for line terminators), repeated any number of times
@the literal @ (6410 / 1008 / 4016)
\Kresets the starting point of the reported match. Any previously consumed characters are no longer included in the final match
Negated Character Class[^\s>]+ +matches at least one character outside the set below:
\sany whitespace character
>the literal > (6210 / 768 / 3E16)
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string