diff options
author | Shunichi Shinohara <[email protected]> | 2011-08-21 11:10:31 +0900 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-11-02 11:27:05 +0100 |
commit | 2a9dbb6b699025f18ca45eea0a99f6b6ea3070f0 (patch) | |
tree | 132b9c97f46d5f763ac5456e0b804f7c03468301 /lib/stdlib/src/re.erl | |
parent | 9a6ad15ba103ec7aee2da66f59e371bd863f410c (diff) | |
download | otp-2a9dbb6b699025f18ca45eea0a99f6b6ea3070f0.tar.gz otp-2a9dbb6b699025f18ca45eea0a99f6b6ea3070f0.tar.bz2 otp-2a9dbb6b699025f18ca45eea0a99f6b6ea3070f0.zip |
Fix re:split spec not to accept option 'global'
Diffstat (limited to 'lib/stdlib/src/re.erl')
-rw-r--r-- | lib/stdlib/src/re.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/re.erl b/lib/stdlib/src/re.erl index 99bcbd722e..246d535943 100644 --- a/lib/stdlib/src/re.erl +++ b/lib/stdlib/src/re.erl @@ -48,7 +48,7 @@ split(Subject,RE) -> Subject :: iodata() | unicode:charlist(), RE :: mp() | iodata() | unicode:charlist(), Options :: [ Option ], - Option :: anchored | global | notbol | noteol | notempty + Option :: anchored | notbol | noteol | notempty | {offset, non_neg_integer()} | {newline, nl_spec()} | bsr_anycrlf | bsr_unicode | {return, ReturnType} | {parts, NumParts} | group | trim | CompileOpt, |