aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-01-25 17:06:08 +0100
committerBjörn Gustavsson <[email protected]>2010-01-27 13:32:31 +0100
commit6b83b643a20bf502eca696f63445049e0838731a (patch)
tree13cb4d51d1b0662fcaf66cc1eb0d36d362c6d854 /lib/stdlib/src
parentff65b85c9c81b9497a5e3342b9e995937cc286ee (diff)
downloadotp-6b83b643a20bf502eca696f63445049e0838731a.tar.gz
otp-6b83b643a20bf502eca696f63445049e0838731a.tar.bz2
otp-6b83b643a20bf502eca696f63445049e0838731a.zip
Fix lost unicode option in re:compile()
Noticed-by: Rory Byrne
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/re.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/re.erl b/lib/stdlib/src/re.erl
index 86da9a26f4..724c768de9 100644
--- a/lib/stdlib/src/re.erl
+++ b/lib/stdlib/src/re.erl
@@ -528,7 +528,7 @@ process_uparams([],Type) ->
ucompile(RE,Options) ->
try
- re:compile(unicode:characters_to_binary(RE,unicode))
+ re:compile(unicode:characters_to_binary(RE,unicode),Options)
catch
error:AnyError ->
{'EXIT',{new_stacktrace,[{Mod,_,L}|Rest]}} =