Run test 8 (sizes and offsets and mode-specific things) for link size 3 and 4
as well as for link size 2, with different output files in each case.
This commit is contained in:
parent
c8ed1e8feb
commit
860b6f228a
|
@ -301,6 +301,9 @@ newline sequence.
|
||||||
|
|
||||||
89. Paranoid check in regcomp() for bad error code from pcre2_compile().
|
89. Paranoid check in regcomp() for bad error code from pcre2_compile().
|
||||||
|
|
||||||
|
90. Run test 8 (internal offsets and code sizes) for link sizes 3 and 4 as well
|
||||||
|
as for link size 2.
|
||||||
|
|
||||||
|
|
||||||
Version 10.20 30-June-2015
|
Version 10.20 30-June-2015
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
18
RunTest
18
RunTest
|
@ -631,22 +631,20 @@ for bmode in "$test8" "$test16" "$test32"; do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Test of internal offsets and code sizes. This test is run only when there
|
# Test of internal offsets and code sizes. This test is run only when there
|
||||||
# is UTF/UCP support and the link size is 2. The actual tests are
|
# is UTF/UCP support. The actual tests are mostly the same as in some of the
|
||||||
# mostly the same as in some of the above, but in this test we inspect some
|
# above, but in this test we inspect some offsets and sizes. This is a
|
||||||
# offsets and sizes that require a known link size. This is a doublecheck for
|
# doublecheck for the maintainer, just in case something changes unexpectely.
|
||||||
# the maintainer, just in case something changes unexpectely. The output from
|
# The output from this test is different in 8-bit, 16-bit, and 32-bit modes
|
||||||
# this test is different in 8-bit, 16-bit, and 32-bit modes, so there are
|
# and for different link sizes, so there are different output files for each
|
||||||
# mode-specific output files.
|
# mode and link size.
|
||||||
|
|
||||||
if [ $do8 = yes ] ; then
|
if [ $do8 = yes ] ; then
|
||||||
echo $title8
|
echo $title8
|
||||||
if [ $link_size -ne 2 ] ; then
|
if [ $utf -eq 0 ] ; then
|
||||||
echo " Skipped because link size is not 2"
|
|
||||||
elif [ $utf -eq 0 ] ; then
|
|
||||||
echo " Skipped because UTF-$bits support is not available"
|
echo " Skipped because UTF-$bits support is not available"
|
||||||
else
|
else
|
||||||
$sim $valgrind ./pcre2test -q $defaultstack $bmode $testdata/testinput8 testtry
|
$sim $valgrind ./pcre2test -q $defaultstack $bmode $testdata/testinput8 testtry
|
||||||
checkresult $? 8-$bits ""
|
checkresult $? 8-$bits-$link_size ""
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
# These are a few representative patterns whose lengths and offsets are to be
|
# There are two sorts of patterns in this test. A number of them are
|
||||||
# shown when the link size is 2. This is just a doublecheck test to ensure the
|
# representative patterns whose lengths and offsets are checked. This is just a
|
||||||
# sizes don't go horribly wrong when something is changed. The pattern contents
|
# doublecheck test to ensure the sizes don't go horribly wrong when something
|
||||||
# are all themselves checked in other tests. Unicode, including property
|
# is changed. The operation of these patterns is checked in other tests.
|
||||||
# support, is required for these tests. There are separate output files for
|
#
|
||||||
# each code unit size.
|
# This file also contains tests whose output varies with code unit size and/or
|
||||||
|
# link size. Unicode support is required for these tests. There are separate
|
||||||
|
# output files for each code unit size and link size.
|
||||||
|
|
||||||
#pattern fullbincode,memory
|
#pattern fullbincode,memory
|
||||||
|
|
||||||
|
@ -68,7 +70,7 @@
|
||||||
/\xff/utf
|
/\xff/utf
|
||||||
|
|
||||||
/\x{0041}\x{2262}\x{0391}\x{002e}/I,utf
|
/\x{0041}\x{2262}\x{0391}\x{002e}/I,utf
|
||||||
|
|
||||||
/\x{D55c}\x{ad6d}\x{C5B4}/I,utf
|
/\x{D55c}\x{ad6d}\x{C5B4}/I,utf
|
||||||
|
|
||||||
/\x{65e5}\x{672c}\x{8a9e}/I,utf
|
/\x{65e5}\x{672c}\x{8a9e}/I,utf
|
||||||
|
@ -151,20 +153,27 @@
|
||||||
|
|
||||||
# Check the absolute limit on nesting (?| etc. This varies with code unit
|
# Check the absolute limit on nesting (?| etc. This varies with code unit
|
||||||
# width because the workspace is a different number of bytes. It will fail
|
# width because the workspace is a different number of bytes. It will fail
|
||||||
# in 8-bit and 16-bit but not in 32-bit.
|
# with link size 2 in 8-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?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|
|
||||||
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
|
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
|
||||||
/parens_nest_limit=1000,-fullbincode
|
/parens_nest_limit=1000,-fullbincode
|
||||||
|
|
||||||
# Use "expand" to create some very long patterns with nested parentheses, in
|
# Use "expand" to create some very long patterns with nested parentheses, in
|
||||||
# order to test workspace overflow. Again, this varies with code unit width,
|
# order to test workspace overflow. Again, this varies with code unit width,
|
||||||
# and even with it fails in two modes, the error offset differs.
|
# and even with it fails in two modes, the error offset differs. It also varies
|
||||||
|
# with link size - hence multiple tests with different values.
|
||||||
|
|
||||||
/(?'ABC'\[[bar](]{105}*THEN:\[A]{255}\[)]{106}/expand,-fullbincode
|
/(?'ABC'\[[bar](]{105}*THEN:\[A]{255}\[)]{106}/expand,-fullbincode
|
||||||
|
|
||||||
/(?'ABC'\[[bar](]{106}*THEN:\[A]{255}\[)]{107}/expand,-fullbincode
|
/(?'ABC'\[[bar](]{106}*THEN:\[A]{255}\[)]{107}/expand,-fullbincode
|
||||||
|
|
||||||
|
/(?'ABC'\[[bar](]{159}*THEN:\[A]{255}\[)]{160}/expand,-fullbincode
|
||||||
|
|
||||||
|
/(?'ABC'\[[bar](]{199}*THEN:\[A]{255}\[)]{200}/expand,-fullbincode
|
||||||
|
|
||||||
|
/(?'ABC'\[[bar](]{299}*THEN:\[A]{255}\[)]{300}/expand,-fullbincode
|
||||||
|
|
||||||
/(?(1)(?1)){8,}+()/debug
|
/(?(1)(?1)){8,}+()/debug
|
||||||
abcd
|
abcd
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
# These are a few representative patterns whose lengths and offsets are to be
|
# There are two sorts of patterns in this test. A number of them are
|
||||||
# shown when the link size is 2. This is just a doublecheck test to ensure the
|
# representative patterns whose lengths and offsets are checked. This is just a
|
||||||
# sizes don't go horribly wrong when something is changed. The pattern contents
|
# doublecheck test to ensure the sizes don't go horribly wrong when something
|
||||||
# are all themselves checked in other tests. Unicode, including property
|
# is changed. The operation of these patterns is checked in other tests.
|
||||||
# support, is required for these tests. There are separate output files for
|
#
|
||||||
# each code unit size.
|
# This file also contains tests whose output varies with code unit size and/or
|
||||||
|
# link size. Unicode support is required for these tests. There are separate
|
||||||
|
# output files for each code unit size and link size.
|
||||||
|
|
||||||
#pattern fullbincode,memory
|
#pattern fullbincode,memory
|
||||||
|
|
||||||
|
@ -379,7 +381,7 @@ Options: utf
|
||||||
First code unit = 'A'
|
First code unit = 'A'
|
||||||
Last code unit = '.'
|
Last code unit = '.'
|
||||||
Subject length lower bound = 4
|
Subject length lower bound = 4
|
||||||
|
|
||||||
/\x{D55c}\x{ad6d}\x{C5B4}/I,utf
|
/\x{D55c}\x{ad6d}\x{C5B4}/I,utf
|
||||||
Memory allocation (code space): 22
|
Memory allocation (code space): 22
|
||||||
------------------------------------------------------------------
|
------------------------------------------------------------------
|
||||||
|
@ -843,8 +845,8 @@ Memory allocation (code space): 14
|
||||||
|
|
||||||
# Check the absolute limit on nesting (?| etc. This varies with code unit
|
# Check the absolute limit on nesting (?| etc. This varies with code unit
|
||||||
# width because the workspace is a different number of bytes. It will fail
|
# width because the workspace is a different number of bytes. It will fail
|
||||||
# in 8-bit and 16-bit but not in 32-bit.
|
# with link size 2 in 8-bit and 16-bit but not in 32-bit.
|
||||||
|
|
||||||
/(?|(?|(?J:(?|(?x:(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?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?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|
|
||||||
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
|
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
|
||||||
/parens_nest_limit=1000,-fullbincode
|
/parens_nest_limit=1000,-fullbincode
|
||||||
|
@ -852,7 +854,8 @@ Failed: error 184 at offset 1540: (?| and/or (?J: or (?x: parentheses are too de
|
||||||
|
|
||||||
# Use "expand" to create some very long patterns with nested parentheses, in
|
# Use "expand" to create some very long patterns with nested parentheses, in
|
||||||
# order to test workspace overflow. Again, this varies with code unit width,
|
# order to test workspace overflow. Again, this varies with code unit width,
|
||||||
# and even with it fails in two modes, the error offset differs.
|
# and even with it fails in two modes, the error offset differs. It also varies
|
||||||
|
# with link size - hence multiple tests with different values.
|
||||||
|
|
||||||
/(?'ABC'\[[bar](]{105}*THEN:\[A]{255}\[)]{106}/expand,-fullbincode
|
/(?'ABC'\[[bar](]{105}*THEN:\[A]{255}\[)]{106}/expand,-fullbincode
|
||||||
Failed: error 186 at offset 594: regular expression is too complicated
|
Failed: error 186 at offset 594: regular expression is too complicated
|
||||||
|
@ -860,6 +863,15 @@ Failed: error 186 at offset 594: regular expression is too complicated
|
||||||
/(?'ABC'\[[bar](]{106}*THEN:\[A]{255}\[)]{107}/expand,-fullbincode
|
/(?'ABC'\[[bar](]{106}*THEN:\[A]{255}\[)]{107}/expand,-fullbincode
|
||||||
Failed: error 186 at offset 594: regular expression is too complicated
|
Failed: error 186 at offset 594: regular expression is too complicated
|
||||||
|
|
||||||
|
/(?'ABC'\[[bar](]{159}*THEN:\[A]{255}\[)]{160}/expand,-fullbincode
|
||||||
|
Failed: error 186 at offset 594: regular expression is too complicated
|
||||||
|
|
||||||
|
/(?'ABC'\[[bar](]{199}*THEN:\[A]{255}\[)]{200}/expand,-fullbincode
|
||||||
|
Failed: error 186 at offset 594: regular expression is too complicated
|
||||||
|
|
||||||
|
/(?'ABC'\[[bar](]{299}*THEN:\[A]{255}\[)]{300}/expand,-fullbincode
|
||||||
|
Failed: error 186 at offset 594: regular expression is too complicated
|
||||||
|
|
||||||
/(?(1)(?1)){8,}+()/debug
|
/(?(1)(?1)){8,}+()/debug
|
||||||
------------------------------------------------------------------
|
------------------------------------------------------------------
|
||||||
0 79 Bra
|
0 79 Bra
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,9 +1,11 @@
|
||||||
# These are a few representative patterns whose lengths and offsets are to be
|
# There are two sorts of patterns in this test. A number of them are
|
||||||
# shown when the link size is 2. This is just a doublecheck test to ensure the
|
# representative patterns whose lengths and offsets are checked. This is just a
|
||||||
# sizes don't go horribly wrong when something is changed. The pattern contents
|
# doublecheck test to ensure the sizes don't go horribly wrong when something
|
||||||
# are all themselves checked in other tests. Unicode, including property
|
# is changed. The operation of these patterns is checked in other tests.
|
||||||
# support, is required for these tests. There are separate output files for
|
#
|
||||||
# each code unit size.
|
# This file also contains tests whose output varies with code unit size and/or
|
||||||
|
# link size. Unicode support is required for these tests. There are separate
|
||||||
|
# output files for each code unit size and link size.
|
||||||
|
|
||||||
#pattern fullbincode,memory
|
#pattern fullbincode,memory
|
||||||
|
|
||||||
|
@ -379,7 +381,7 @@ Options: utf
|
||||||
First code unit = 'A'
|
First code unit = 'A'
|
||||||
Last code unit = '.'
|
Last code unit = '.'
|
||||||
Subject length lower bound = 4
|
Subject length lower bound = 4
|
||||||
|
|
||||||
/\x{D55c}\x{ad6d}\x{C5B4}/I,utf
|
/\x{D55c}\x{ad6d}\x{C5B4}/I,utf
|
||||||
Memory allocation (code space): 44
|
Memory allocation (code space): 44
|
||||||
------------------------------------------------------------------
|
------------------------------------------------------------------
|
||||||
|
@ -843,20 +845,29 @@ Memory allocation (code space): 28
|
||||||
|
|
||||||
# Check the absolute limit on nesting (?| etc. This varies with code unit
|
# Check the absolute limit on nesting (?| etc. This varies with code unit
|
||||||
# width because the workspace is a different number of bytes. It will fail
|
# width because the workspace is a different number of bytes. It will fail
|
||||||
# in 8-bit and 16-bit but not in 32-bit.
|
# with link size 2 in 8-bit and 16-bit but not in 32-bit.
|
||||||
|
|
||||||
/(?|(?|(?J:(?|(?x:(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(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(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|
|
||||||
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
|
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
|
||||||
/parens_nest_limit=1000,-fullbincode
|
/parens_nest_limit=1000,-fullbincode
|
||||||
|
|
||||||
# Use "expand" to create some very long patterns with nested parentheses, in
|
# Use "expand" to create some very long patterns with nested parentheses, in
|
||||||
# order to test workspace overflow. Again, this varies with code unit width,
|
# order to test workspace overflow. Again, this varies with code unit width,
|
||||||
# and even with it fails in two modes, the error offset differs.
|
# and even with it fails in two modes, the error offset differs. It also varies
|
||||||
|
# with link size - hence multiple tests with different values.
|
||||||
|
|
||||||
/(?'ABC'\[[bar](]{105}*THEN:\[A]{255}\[)]{106}/expand,-fullbincode
|
/(?'ABC'\[[bar](]{105}*THEN:\[A]{255}\[)]{106}/expand,-fullbincode
|
||||||
|
|
||||||
/(?'ABC'\[[bar](]{106}*THEN:\[A]{255}\[)]{107}/expand,-fullbincode
|
/(?'ABC'\[[bar](]{106}*THEN:\[A]{255}\[)]{107}/expand,-fullbincode
|
||||||
|
|
||||||
|
/(?'ABC'\[[bar](]{159}*THEN:\[A]{255}\[)]{160}/expand,-fullbincode
|
||||||
|
|
||||||
|
/(?'ABC'\[[bar](]{199}*THEN:\[A]{255}\[)]{200}/expand,-fullbincode
|
||||||
|
Failed: error 186 at offset 979: regular expression is too complicated
|
||||||
|
|
||||||
|
/(?'ABC'\[[bar](]{299}*THEN:\[A]{255}\[)]{300}/expand,-fullbincode
|
||||||
|
Failed: error 186 at offset 979: regular expression is too complicated
|
||||||
|
|
||||||
/(?(1)(?1)){8,}+()/debug
|
/(?(1)(?1)){8,}+()/debug
|
||||||
------------------------------------------------------------------
|
------------------------------------------------------------------
|
||||||
0 79 Bra
|
0 79 Bra
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,9 +1,11 @@
|
||||||
# These are a few representative patterns whose lengths and offsets are to be
|
# There are two sorts of patterns in this test. A number of them are
|
||||||
# shown when the link size is 2. This is just a doublecheck test to ensure the
|
# representative patterns whose lengths and offsets are checked. This is just a
|
||||||
# sizes don't go horribly wrong when something is changed. The pattern contents
|
# doublecheck test to ensure the sizes don't go horribly wrong when something
|
||||||
# are all themselves checked in other tests. Unicode, including property
|
# is changed. The operation of these patterns is checked in other tests.
|
||||||
# support, is required for these tests. There are separate output files for
|
#
|
||||||
# each code unit size.
|
# This file also contains tests whose output varies with code unit size and/or
|
||||||
|
# link size. Unicode support is required for these tests. There are separate
|
||||||
|
# output files for each code unit size and link size.
|
||||||
|
|
||||||
#pattern fullbincode,memory
|
#pattern fullbincode,memory
|
||||||
|
|
||||||
|
@ -379,7 +381,7 @@ Options: utf
|
||||||
First code unit = 'A'
|
First code unit = 'A'
|
||||||
Last code unit = '.'
|
Last code unit = '.'
|
||||||
Subject length lower bound = 4
|
Subject length lower bound = 4
|
||||||
|
|
||||||
/\x{D55c}\x{ad6d}\x{C5B4}/I,utf
|
/\x{D55c}\x{ad6d}\x{C5B4}/I,utf
|
||||||
Memory allocation (code space): 19
|
Memory allocation (code space): 19
|
||||||
------------------------------------------------------------------
|
------------------------------------------------------------------
|
||||||
|
@ -843,8 +845,8 @@ Memory allocation (code space): 10
|
||||||
|
|
||||||
# Check the absolute limit on nesting (?| etc. This varies with code unit
|
# Check the absolute limit on nesting (?| etc. This varies with code unit
|
||||||
# width because the workspace is a different number of bytes. It will fail
|
# width because the workspace is a different number of bytes. It will fail
|
||||||
# in 8-bit and 16-bit but not in 32-bit.
|
# with link size 2 in 8-bit and 16-bit but not in 32-bit.
|
||||||
|
|
||||||
/(?|(?|(?J:(?|(?x:(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(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))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
|
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
|
||||||
/parens_nest_limit=1000,-fullbincode
|
/parens_nest_limit=1000,-fullbincode
|
||||||
|
@ -852,13 +854,23 @@ Failed: error 184 at offset 1540: (?| and/or (?J: or (?x: parentheses are too de
|
||||||
|
|
||||||
# Use "expand" to create some very long patterns with nested parentheses, in
|
# Use "expand" to create some very long patterns with nested parentheses, in
|
||||||
# order to test workspace overflow. Again, this varies with code unit width,
|
# order to test workspace overflow. Again, this varies with code unit width,
|
||||||
# and even with it fails in two modes, the error offset differs.
|
# and even with it fails in two modes, the error offset differs. It also varies
|
||||||
|
# with link size - hence multiple tests with different values.
|
||||||
|
|
||||||
/(?'ABC'\[[bar](]{105}*THEN:\[A]{255}\[)]{106}/expand,-fullbincode
|
/(?'ABC'\[[bar](]{105}*THEN:\[A]{255}\[)]{106}/expand,-fullbincode
|
||||||
|
|
||||||
/(?'ABC'\[[bar](]{106}*THEN:\[A]{255}\[)]{107}/expand,-fullbincode
|
/(?'ABC'\[[bar](]{106}*THEN:\[A]{255}\[)]{107}/expand,-fullbincode
|
||||||
Failed: error 186 at offset 637: regular expression is too complicated
|
Failed: error 186 at offset 637: regular expression is too complicated
|
||||||
|
|
||||||
|
/(?'ABC'\[[bar](]{159}*THEN:\[A]{255}\[)]{160}/expand,-fullbincode
|
||||||
|
Failed: error 186 at offset 637: regular expression is too complicated
|
||||||
|
|
||||||
|
/(?'ABC'\[[bar](]{199}*THEN:\[A]{255}\[)]{200}/expand,-fullbincode
|
||||||
|
Failed: error 186 at offset 637: regular expression is too complicated
|
||||||
|
|
||||||
|
/(?'ABC'\[[bar](]{299}*THEN:\[A]{255}\[)]{300}/expand,-fullbincode
|
||||||
|
Failed: error 186 at offset 637: regular expression is too complicated
|
||||||
|
|
||||||
/(?(1)(?1)){8,}+()/debug
|
/(?(1)(?1)){8,}+()/debug
|
||||||
------------------------------------------------------------------
|
------------------------------------------------------------------
|
||||||
0 119 Bra
|
0 119 Bra
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue