Hm. I could use re with match/sub.