Shimmying with regex