going down a rabbithole with regex