How can I use a success combinator in conjunction with a map combinator in nom?

前端 未结 0 1163
孤街浪徒
孤街浪徒 2021-01-14 04:27

I am writing a nom parser combinator that consumes bytes and returns an Option<&[u8]>. The parser combinator should follow the following rules:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题