metomi/rose#1052: fix regexes