diff options
author | Patrik Nyblom <[email protected]> | 2009-11-02 15:55:20 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-05-17 15:51:49 +0200 |
commit | e0c4c2867c20368c5b5d88cbbf92da7b7a3f386e (patch) | |
tree | 91081527b0b2c88f595af3ea067a08fdc6df6861 /lib/stdlib/src | |
parent | fdc8980231b1e791ec4b8f8f3d61a7ba7dda539b (diff) | |
download | otp-e0c4c2867c20368c5b5d88cbbf92da7b7a3f386e.tar.gz otp-e0c4c2867c20368c5b5d88cbbf92da7b7a3f386e.tar.bz2 otp-e0c4c2867c20368c5b5d88cbbf92da7b7a3f386e.zip |
Teach binary.c the semantics to take longest instead of shortest match
Add testcase embryos and reference implementation.
Change name of compile function according to EEP31.
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r-- | lib/stdlib/src/binary.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/binary.erl b/lib/stdlib/src/binary.erl index f2774f8c84..d649f974bb 100644 --- a/lib/stdlib/src/binary.erl +++ b/lib/stdlib/src/binary.erl @@ -19,8 +19,8 @@ -module(binary). %% %% The following functions implemented as BIF's -%% binary:match_compile/1 -%% binary:match/3 +%% binary:compile_pattern/1 +%% binary:find/3 %% XXX:PaN more to come... -export([first/1,first/2,last/1,last/2,nth/2,extract/3]). |