string:find("This is a test wa.me/123456 message alibaba","wa.me").
工作正常匹配wa.me但低于代码
erpc:pmap({string,find},["This is a test wa.me/123456 message alibaba"],["wa.me"]).
不起作用,让我如果有人知道失败的原因
谢谢
试过这个
erpc:pmap({string,find},["This is a test wa.me/123456 message alibaba"],["wa.me"]).
期望wa.me/123456 message alibaba
但得到
[nomatch]
1条答案
按热度按时间vltsax251#
首先,没有
erps:pmap/3
函数,pmap/3
是从rpc
模块导出的。然后,参数的顺序如下所示:
也就是说,正确的决定应该是