A while ago, we wrote a paper about finding regexes which match the same way in both the greedy semantics and the leftmost maximal semantics.
https://par.nsf.gov/servlets/purl/10534654