aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/re.erl
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2011-05-18 15:47:55 +0200
committerPatrik Nyblom <[email protected]>2011-05-18 15:47:55 +0200
commitbe7c883a4d53050e5b58e7e805c947c1244ac747 (patch)
tree705466384bb02d7abd56f2aaedfc34eb1ed1ef96 /lib/stdlib/src/re.erl
parentda2c89c6973eaa808ef56ea42168c5bae97e2787 (diff)
downloadotp-be7c883a4d53050e5b58e7e805c947c1244ac747.tar.gz
otp-be7c883a4d53050e5b58e7e805c947c1244ac747.tar.bz2
otp-be7c883a4d53050e5b58e7e805c947c1244ac747.zip
Fixup of re doc and specs
Diffstat (limited to 'lib/stdlib/src/re.erl')
-rw-r--r--lib/stdlib/src/re.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/re.erl b/lib/stdlib/src/re.erl
index 02dbe60741..e08258a535 100644
--- a/lib/stdlib/src/re.erl
+++ b/lib/stdlib/src/re.erl
@@ -46,7 +46,7 @@ split(Subject,RE) ->
-spec split(Subject, RE, Options) -> SplitList when
Subject :: iodata() | unicode:charlist(),
- RE :: mp() | iodata(),
+ RE :: mp() | iodata() | unicode:charlist(),
Options :: [ Option ],
Option :: anchored | global | notbol | noteol | notempty
| {offset, non_neg_integer()} | {newline, nl_spec()}
@@ -238,7 +238,7 @@ replace(Subject,RE,Replacement) ->
-spec replace(Subject, RE, Replacement, Options) -> iodata() | unicode:charlist() when
Subject :: iodata() | unicode:charlist(),
- RE :: mp() | iodata(),
+ RE :: mp() | iodata() | unicode:charlist(),
Replacement :: iodata() | unicode:charlist(),
Options :: [Option],
Option :: anchored | global | notbol | noteol | notempty