[erlang-questions] String parsing recommendations

Mark Steele mark@REDACTED
Mon Dec 14 04:33:37 CET 2015


Hi all,

This is a pretty basic question, but I'm new so bear with me.

I've got a binary that might look something like this:

<<"(foo,bar(faz,fez,fur(foe)),fuz)">>

Parsed, the it might look like:
  [
   [<<"foo">>],
   [<<"bar>>,<<"faz">>],
   [<<"bar">>,<<"fez">>],
   [<<"bar">>,<<"fur">>,<<"foe">>],
   [<<"fuz">>]
  ]


Any recommendations on the best approach to tackle this in Erlang?

Regards,

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151213/6e75379c/attachment.htm>


More information about the erlang-questions mailing list