摘要: 题目 中文 从字符串中剔除指定字符。 例如: type Butterfly = DropChar<' b u t t e r f l y ! ', ' '>; // 'butterfly!' English Drop a specified char from a string. For examp 阅读全文
posted @ 2022-09-19 01:00 Laggage 阅读(42) 评论(0) 推荐(0)
摘要: 题目 中文 实现类型 PercentageParser。根据规则 /^(\+|\-)?(\d*)?(\%)?$/ 匹配类型 T。 匹配的结果由三部分组成,分别是:[正负号, 数字, 单位],如果没有匹配,则默认是空字符串。 例如: type PString1 = ''; type PString2 阅读全文
posted @ 2022-09-19 00:55 Laggage 阅读(48) 评论(0) 推荐(0)