【发布时间】:2015-04-13 01:43:01
【问题描述】:
代码示例
14> case re:run("5162754", "/^\d+$/") of {match, _} -> ok end.
** exception error: no case clause matching nomatch
15> case re:run(<<"5162754">>, "/^\d+$/") of {match, _} -> ok end.
** exception error: no case clause matching nomatch
为什么不匹配?
【问题讨论】:
标签: regex erlang pattern-matching