Max Lapshin
unread,Nov 16, 2012, 5:27:42 AM11/16/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Erlang-Questions Questions
Hi.
There are two forms of matching binaries, that are not supported:
extract_string(<<String/binary, 0>>) -> String.
extract_postfix(<<Prefix/binary, Postfix/binary>>, Prefix) -> Postfix.
Second one is perhaps too hard to implement, but first one seems to be not to hard (we just match end of binary on known offset and match beginning).
Why aren't these cases implemented? Is it just "nobody wanted it yet" or there is some serious reason not to do it.