[erlang-bugs] binary:matches/3 fails in R14A

Tuncer Ayaz tuncer.ayaz@REDACTED
Thu Jan 31 21:33:43 CET 2013


Originally reported by Bartosz Kolodziej as part of [1]
is the following a bug or intentionally throwing badarg?

1> binary:matches(<<>>,<<"a">>,[global]).
** exception error: bad argument
     in function  binary:matches/3
        called as binary:matches(<<>>,<<"a">>,[global])

Tested with otp.git at 68b804f.

[1] http://erlang.org/pipermail/erlang-bugs/2010-August/001967.html
[2] http://erlang.org/pipermail/erlang-bugs/2011-December/002693.html



More information about the erlang-bugs mailing list