本帖最后由 sxw 于 2020-4-17 21:46 编辑
使用 raku, => raku.org- say [+] $=finish.lines».comb(/^ <( \d+ [\.\d+]? )>\,/)».[0];
-
- =finish
- 11.550,已支付,2019-09-15 21:39:03,2019-12-30 13:21:35
- 10.870,已支付,2019-09-15 21:39:03,2019-09-16 12:51:36
- 10.350,已支付,2019-02-09 07:20:59,2019-02-11 10:56:55
- 10.010,已支付,2018-06-30 10:24:07,2018-07-02 12:32:31
- 10.620,已支付,2016-09-24 07:21:55,2016-09-26 11:45:12
复制代码 输出:53.4 |