diff options
author | Siri Hansen <[email protected]> | 2017-08-25 16:50:07 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-09-05 11:32:03 +0200 |
commit | 46e5b36b2a2fd70fef26ee0ad7e08a3c7c2fd7fd (patch) | |
tree | 87560a93e1f2d6539b7be7064de7d2ba557cc777 /lib/common_test/src/ct.erl | |
parent | 4bf9c5a5cc52a0ce76fbec638deff0ff88a5dfd8 (diff) | |
download | otp-46e5b36b2a2fd70fef26ee0ad7e08a3c7c2fd7fd.tar.gz otp-46e5b36b2a2fd70fef26ee0ad7e08a3c7c2fd7fd.tar.bz2 otp-46e5b36b2a2fd70fef26ee0ad7e08a3c7c2fd7fd.zip |
ct: use 'unicode' option for regexps
Diffstat (limited to 'lib/common_test/src/ct.erl')
-rw-r--r-- | lib/common_test/src/ct.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common_test/src/ct.erl b/lib/common_test/src/ct.erl index 19b0ee20fe..a12c0c9101 100644 --- a/lib/common_test/src/ct.erl +++ b/lib/common_test/src/ct.erl @@ -848,7 +848,8 @@ capture_get([ExclCat | ExclCategories]) -> Strs = test_server:capture_get(), CatsStr = [atom_to_list(ExclCat) | [[$| | atom_to_list(EC)] || EC <- ExclCategories]], - {ok,MP} = re:compile("<div class=\"(" ++ lists:flatten(CatsStr) ++ ")\">.*"), + {ok,MP} = re:compile("<div class=\"(" ++ lists:flatten(CatsStr) ++ ")\">.*", + [unicode]), lists:flatmap(fun(Str) -> case re:run(Str, MP) of {match,_} -> []; |