aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/re_testoutput1_replacement_test.erl
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2019-06-26 11:25:40 +0200
committerRickard Green <[email protected]>2019-06-26 11:41:22 +0200
commit2c798383d620665b80ad4c0ba708f6c02d93ae15 (patch)
treebb467d0607e55170cd0b8a29c56caf2c097c20cf /lib/stdlib/test/re_testoutput1_replacement_test.erl
parentb5d5c7fb42ed10d06a246f4744b8dd30a6ea2fe9 (diff)
downloadotp-2c798383d620665b80ad4c0ba708f6c02d93ae15.tar.gz
otp-2c798383d620665b80ad4c0ba708f6c02d93ae15.tar.bz2
otp-2c798383d620665b80ad4c0ba708f6c02d93ae15.zip
Adjust generated re replacement and split tests
Adjustment needed due to incompatibility between PCRE 8.43 and perl version 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 45373ec751..3aa5447ab8 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])),