From 0cdef40e8e3d41234802a350329a215b25ca220c Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Thu, 7 Feb 2013 14:24:44 +0100 Subject: [reltool] Add unicode option to re:compile to allow unicode filenames --- lib/reltool/src/reltool_utils.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/reltool/src/reltool_utils.erl') diff --git a/lib/reltool/src/reltool_utils.erl b/lib/reltool/src/reltool_utils.erl index 90831ecac7..87d28c7373 100644 --- a/lib/reltool/src/reltool_utils.erl +++ b/lib/reltool/src/reltool_utils.erl @@ -600,7 +600,7 @@ decode_regexps(Key, Regexps, _Old) when is_list(Regexps) -> throw({error, "Illegal option: " ++ Text}). do_decode_regexps(Key, [Regexp | Regexps], Acc) -> - case catch re:compile(Regexp, []) of + case catch re:compile(Regexp, [unicode]) of {ok, MP} -> do_decode_regexps(Key, Regexps, -- cgit v1.2.3