aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/re_testoutput1_replacement_test.erl
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-03-27 15:34:15 +0200
committerRickard Green <[email protected]>2017-04-05 14:36:44 +0200
commit671d690debf653a6b1e86c3e7880b9c5640b1324 (patch)
tree2d3184c6e518d4fc51643cfa6b6ee4bda7b4a537 /lib/stdlib/test/re_testoutput1_replacement_test.erl
parentc75b909e0e1ac355e1eb76c99af7ed72e72f13a4 (diff)
downloadotp-671d690debf653a6b1e86c3e7880b9c5640b1324.tar.gz
otp-671d690debf653a6b1e86c3e7880b9c5640b1324.tar.bz2
otp-671d690debf653a6b1e86c3e7880b9c5640b1324.zip
Adjust for incompatibility between PCRE 8.40 and perl 5.22.1
Diffstat (limited to 'lib/stdlib/test/re_testoutput1_replacement_test.erl')
-rw-r--r--lib/stdlib/test/re_testoutput1_replacement_test.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/stdlib/test/re_testoutput1_replacement_test.erl b/lib/stdlib/test/re_testoutput1_replacement_test.erl
index 199674bc62..df46305ce1 100644
--- a/lib/stdlib/test/re_testoutput1_replacement_test.erl
+++ b/lib/stdlib/test/re_testoutput1_replacement_test.erl
@@ -19748,16 +19748,16 @@ run49() ->
<<"aJcbatLdoGHtuOHxJ">> = iolist_to_binary(re:replace("aba","(?>.*?a)(?<=ba)","Jc&tLdoGHt\\1uOHxJ",[global])),
<<"jnJTr">> = iolist_to_binary(re:replace("aba","(?:.*?a)(?<=ba)","jnJTr",[])),
<<"jnJTr">> = iolist_to_binary(re:replace("aba","(?:.*?a)(?<=ba)","jnJTr",[global])),
- <<"aab">> = iolist_to_binary(re:replace("aab",".*?a(*PRUNE)b","SS\\1\\1oE\\1g",[])),
- <<"aab">> = iolist_to_binary(re:replace("aab",".*?a(*PRUNE)b","SS\\1\\1oE\\1g",[global])),
- <<"aab">> = iolist_to_binary(re:replace("aab",".*?a(*PRUNE)b","OdJuWtvQ",[dotall])),
- <<"aab">> = iolist_to_binary(re:replace("aab",".*?a(*PRUNE)b","OdJuWtvQ",[dotall,
+ <<"aSSoEg">> = iolist_to_binary(re:replace("aab",".*?a(*PRUNE)b","SS\\1\\1oE\\1g",[])),
+ <<"aSSoEg">> = iolist_to_binary(re:replace("aab",".*?a(*PRUNE)b","SS\\1\\1oE\\1g",[global])),
+ <<"aOdJuWtvQ">> = iolist_to_binary(re:replace("aab",".*?a(*PRUNE)b","OdJuWtvQ",[dotall])),
+ <<"aOdJuWtvQ">> = iolist_to_binary(re:replace("aab",".*?a(*PRUNE)b","OdJuWtvQ",[dotall,
global])),
<<"aab">> = iolist_to_binary(re:replace("aab","^a(*PRUNE)b","u\\1oO\\1B\\1\\1",[dotall])),
<<"aab">> = iolist_to_binary(re:replace("aab","^a(*PRUNE)b","u\\1oO\\1B\\1\\1",[dotall,
global])),
- <<"aab">> = iolist_to_binary(re:replace("aab",".*?a(*SKIP)b","\\1UtmYVc\\1&mq\\1fPDm",[])),
- <<"aab">> = iolist_to_binary(re:replace("aab",".*?a(*SKIP)b","\\1UtmYVc\\1&mq\\1fPDm",[global])),
+ <<"aUtmYVcabmqfPDm">> = iolist_to_binary(re:replace("aab",".*?a(*SKIP)b","\\1UtmYVc\\1&mq\\1fPDm",[])),
+ <<"aUtmYVcabmqfPDm">> = iolist_to_binary(re:replace("aab",".*?a(*SKIP)b","\\1UtmYVc\\1&mq\\1fPDm",[global])),
<<"amg">> = iolist_to_binary(re:replace("aab","(?>.*?a)b","m\\1g",[dotall])),
<<"amg">> = iolist_to_binary(re:replace("aab","(?>.*?a)b","m\\1g",[dotall,
global])),