aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-08-30 16:56:04 +0200
committerSiri Hansen <[email protected]>2017-09-05 11:32:03 +0200
commit87fa9801618397087d6a7b521e370506c5bfff91 (patch)
treecc14d4b8b7579479b8e4fea008e16e4f75b249ba /lib/stdlib
parent46e5b36b2a2fd70fef26ee0ad7e08a3c7c2fd7fd (diff)
downloadotp-87fa9801618397087d6a7b521e370506c5bfff91.tar.gz
otp-87fa9801618397087d6a7b521e370506c5bfff91.tar.bz2
otp-87fa9801618397087d6a7b521e370506c5bfff91.zip
stdlib: use 'unicode' option for regexp in ets
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/ets.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/ets.erl b/lib/stdlib/src/ets.erl
index 898b2f5bba..b5d3cd3c8d 100644
--- a/lib/stdlib/src/ets.erl
+++ b/lib/stdlib/src/ets.erl
@@ -1693,7 +1693,7 @@ choice(Height, Width, P, Mode, Tab, Key, Turn, Opos) ->
end,
choice(Height, Width, P, Mode, Tab, Key, Turn, Opos);
[$/|Regexp] -> %% from regexp
- case re:compile(nonl(Regexp)) of
+ case re:compile(nonl(Regexp),[unicode]) of
{ok,Re} ->
re_search(Height, Width, Tab, ets:first(Tab), Re, 1, 1);
{error,{ErrorString,_Pos}} ->