Future-proof generator typename regexp.