in reply to Is greediness irrelevant when matching whole lines?

dominus wrote an excellent article on how the RE engine works, although it may not be current, I'll think you'll find it interesting.