k1=the literal text k1= (case sensitive) \S+any non-whitespace character, repeated at least once
\s+any whitespace character, repeated at least once
k2=the literal text k2= (case sensitive) \S+any non-whitespace character, repeated at least once
\s+any whitespace character, repeated at least once
k3=the literal text k3= (case sensitive) \S+any non-whitespace character, repeated at least once
\s+any whitespace character, repeated at least once
k4=the literal text k4= (case sensitive) \S+any non-whitespace character, repeated at least once
\s+any whitespace character, repeated at least once
k5=the literal text k5= (case sensitive) \S+any non-whitespace character, repeated at least once
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