From 6b83b643a20bf502eca696f63445049e0838731a Mon Sep 17 00:00:00 2001 From: Patrik Nyblom Date: Mon, 25 Jan 2010 17:06:08 +0100 Subject: Fix lost unicode option in re:compile() Noticed-by: Rory Byrne --- lib/stdlib/src/re.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stdlib/src') 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]}} = -- cgit v1.2.3