Let\'s say I have
def abc xyz abc
And I want to match
xyz abc <
xyz abc
Many regex implementations allow explicit line terminators. If \n is the line separator, then just search for xyz\nabc.
xyz\nabc