summaryrefslogtreecommitdiff
path: root/lib/parsetools/test/yecc_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parsetools/test/yecc_SUITE.erl')
-rw-r--r--lib/parsetools/test/yecc_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parsetools/test/yecc_SUITE.erl b/lib/parsetools/test/yecc_SUITE.erl
index e76b98f0f5..383969e7a8 100644
--- a/lib/parsetools/test/yecc_SUITE.erl
+++ b/lib/parsetools/test/yecc_SUITE.erl
@@ -2326,7 +2326,7 @@ safe_second_element(Other) -> Other.
search_for_file_attr(PartialFilePathRegex, Forms) ->
lists:search(fun
({attribute, _, file, {FileAttr, _}}) ->
- case re:run(FileAttr, PartialFilePathRegex) of
+ case re:run(FileAttr, PartialFilePathRegex, [unicode]) of
nomatch -> false;
_ -> true
end;