"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "testdata/testinput1" between
pcre2-10.35.tar.bz2 and pcre2-10.36.tar.bz2

About: The PCRE2 library implements Perl compatible regular expression pattern matching. New future PCRE version with revised API.

testinput1  (pcre2-10.35.tar.bz2):testinput1  (pcre2-10.36.tar.bz2)
# This set of tests is for features that are compatible with all versions of # This set of tests is for features that are compatible with all versions of
# Perl >= 5.10, in non-UTF mode. It should run clean for the 8-bit, 16-bit, and # Perl >= 5.10, in non-UTF mode. It should run clean for the 8-bit, 16-bit, and
# 32-bit PCRE libraries, and also using the perltest.sh script. # 32-bit PCRE libraries, and also using the perltest.sh script.
# WARNING: Use only / as the pattern delimiter. Although pcre2test supports
# a number of delimiters, all those other than / give problems with the
# perltest.sh script.
#forbid_utf #forbid_utf
#newline_default lf any anycrlf #newline_default lf any anycrlf
#perltest #perltest
/the quick brown fox/ /the quick brown fox/
the quick brown fox the quick brown fox
What do you know about the quick brown fox? What do you know about the quick brown fox?
\= Expect no match \= Expect no match
The quick brown FOX The quick brown FOX
What do you know about THE QUICK BROWN FOX? What do you know about THE QUICK BROWN FOX?
skipping to change at line 1958 skipping to change at line 1962
foobbar foobbar
/\Aabc\z/m /\Aabc\z/m
abc abc
\= Expect no match \= Expect no match
abc\n abc\n
qqq\nabc qqq\nabc
abc\nzzz abc\nzzz
qqq\nabc\nzzz qqq\nabc\nzzz
"(?>.*/)foo" /(?>.*\/)foo/
/this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
\= Expect no match \= Expect no match
/this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/ /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/
/(?>(\.\d\d[1-9]?))\d+/ /(?>(\.\d\d[1-9]?))\d+/
1.230003938 1.230003938
1.875000282 1.875000282
\= Expect no match \= Expect no match
1.235 1.235
skipping to change at line 3832 skipping to change at line 3836
bXXaYYaY bXXaYYaY
/[[,abc,]+]/ /[[,abc,]+]/
abc] abc]
a,b] a,b]
[a,b,c] [a,b,c]
/(?-x: )/x /(?-x: )/x
A\x20B A\x20B
"(?x)(?-x: \s*#\s*)" /(?x)(?-x: \s*#\s*)/
A # B A # B
\= Expect no match \= Expect no match
# #
A s#s B
"(?x-is)(?:(?-ixs) \s*#\s*) include" /(?x-is)(?:(?-ixs) \s*#\s*) include/
A #include A #include
\= Expect no match \= Expect no match
A#include A#include
A #Include A #Include
/a*b*\w/ /a*b*\w/
aaabbbb aaabbbb
aaaa aaaa
a a
skipping to change at line 5233 skipping to change at line 5238
aab aab
/(?>.*?)(?<=(abcd)|(wxyz))/ /(?>.*?)(?<=(abcd)|(wxyz))/
alphabetabcd alphabetabcd
endingwxyz endingwxyz
/(?>.*)(?<=(abcd)|(wxyz))/ /(?>.*)(?<=(abcd)|(wxyz))/
alphabetabcd alphabetabcd
endingwxyz endingwxyz
"(?>.*)foo" /(?>.*)foo/
\= Expect no match \= Expect no match
abcdfooxyz abcdfooxyz
"(?>.*?)foo" /(?>.*?)foo/
abcdfooxyz abcdfooxyz
/(?:(a(*PRUNE)b)){0}(?:(?1)|ac)/ /(?:(a(*PRUNE)b)){0}(?:(?1)|ac)/
ac ac
/(?:(a(*SKIP)b)){0}(?:(?1)|ac)/ /(?:(a(*SKIP)b)){0}(?:(?1)|ac)/
ac ac
/(?<=(*SKIP)ac)a/ /(?<=(*SKIP)ac)a/
\= Expect no match \= Expect no match
skipping to change at line 5424 skipping to change at line 5429
/((?=a(*COMMIT)b)ab|ac){0}(?:(?1)|a(c))/ /((?=a(*COMMIT)b)ab|ac){0}(?:(?1)|a(c))/
ac ac
# These tests were formerly in test 2, but changes in PCRE and Perl have # These tests were formerly in test 2, but changes in PCRE and Perl have
# made them compatible. # made them compatible.
/^(a)?(?(1)a|b)+$/ /^(a)?(?(1)a|b)+$/
\= Expect no match \= Expect no match
a a
/(?=a\Kb)ab/
ab
/(?!a\Kb)ac/
ac
/^abc(?<=b\Kc)d/
abcd
/^abc(?<!b\Kq)d/
abcd
/A(*PRUNE:A)A+(*SKIP:A)(B|Z) | AC/x,mark /A(*PRUNE:A)A+(*SKIP:A)(B|Z) | AC/x,mark
\= Expect no match \= Expect no match
AAAC AAAC
/^((abc|abcx)(*THEN)y|abcd)/ /^((abc|abcx)(*THEN)y|abcd)/
abcd abcd
\= Expect no match \= Expect no match
abcxy abcxy
/^((yes|no)(*THEN)(*F))?/ /^((yes|no)(*THEN)(*F))?/
skipping to change at line 5660 skipping to change at line 5653
/(a\Kb)*+/aftertext /(a\Kb)*+/aftertext
ababc ababc
/(a\Kb)*/aftertext /(a\Kb)*/aftertext
ababc ababc
/(?:x|(?:(xx|yy)+|x|x|x|x|x)|a|a|a)bc/ /(?:x|(?:(xx|yy)+|x|x|x|x|x)|a|a|a)bc/
\= Expect no match \= Expect no match
acb acb
'\A(?:[^\"]++|\"(?:[^\"]*+|\"\")*+\")++' /\A(?:[^\"]++|\"(?:[^\"]*+|\"\")*+\")++/
NON QUOTED \"QUOT\"\"ED\" AFTER \"NOT MATCHED NON QUOTED \"QUOT\"\"ED\" AFTER \"NOT MATCHED
'\A(?:[^\"]++|\"(?:[^\"]++|\"\")*+\")++' /\A(?:[^\"]++|\"(?:[^\"]++|\"\")*+\")++/
NON QUOTED \"QUOT\"\"ED\" AFTER \"NOT MATCHED NON QUOTED \"QUOT\"\"ED\" AFTER \"NOT MATCHED
'\A(?:[^\"]++|\"(?:[^\"]++|\"\")++\")++' /\A(?:[^\"]++|\"(?:[^\"]++|\"\")++\")++/
NON QUOTED \"QUOT\"\"ED\" AFTER \"NOT MATCHED NON QUOTED \"QUOT\"\"ED\" AFTER \"NOT MATCHED
'\A([^\"1]++|[\"2]([^\"3]*+|[\"4][\"5])*+[\"6])++' /\A([^\"1]++|[\"2]([^\"3]*+|[\"4][\"5])*+[\"6])++/
NON QUOTED \"QUOT\"\"ED\" AFTER \"NOT MATCHED NON QUOTED \"QUOT\"\"ED\" AFTER \"NOT MATCHED
/^\w+(?>\s*)(?<=\w)/ /^\w+(?>\s*)(?<=\w)/
test test test test
/(?P<same>a)(?P<same>b)/g,dupnames /(?P<same>a)(?P<same>b)/g,dupnames
abbaba abbaba
/(?P<same>a)(?P<same>b)(?P=same)/g,dupnames /(?P<same>a)(?P<same>b)(?P=same)/g,dupnames
abbaba abbaba
skipping to change at line 5728 skipping to change at line 5721
xyd xyd
/(?:((abcd))|(((?:(?:(?:(?:abc|(?:abcdef))))b)abcdefghi)abc)|((*ACCEPT)))/ /(?:((abcd))|(((?:(?:(?:(?:abc|(?:abcdef))))b)abcdefghi)abc)|((*ACCEPT)))/
1234abcd 1234abcd
/(\2|a)(\1)/ /(\2|a)(\1)/
aaa aaa
/(\2)(\1)/ /(\2)(\1)/
"Z*(|d*){216}" /Z*(|d*){216}/
"(?1)(?#?'){8}(a)" /(?1)(?#?'){8}(a)/
baaaaaaaaac baaaaaaaaac
/((((((((((((x))))))))))))\12/ /((((((((((((x))))))))))))\12/
xx xx
/A[\8]B[\9]C/ /A[\8]B[\9]C/
A8B9C A8B9C
/(?1)()((((((\1++))\x85)+)|))/ /(?1)()((((((\1++))\x85)+)|))/
\x85\x85 \x85\x85
"(?|(\k'Pm')|(?'Pm'))" /(?|(\k'Pm')|(?'Pm'))/
abcd abcd
/(?|(aaa)|(b))\g{1}/ /(?|(aaa)|(b))\g{1}/
aaaaaa aaaaaa
bb bb
/(?|(aaa)|(b))(?1)/ /(?|(aaa)|(b))(?1)/
aaaaaa aaaaaa
baaa baaa
\= Expect no match \= Expect no match
skipping to change at line 5834 skipping to change at line 5827
)+$/x )+$/x
AZ123Z AZ123Z
\= Expect no match \= Expect no match
AZ12Z AZ12Z
/^ (?(DEFINE) ( (?!(a)\2b)..) ) ()(?1) /x /^ (?(DEFINE) ( (?!(a)\2b)..) ) ()(?1) /x
acb acb
\= Expect no match \= Expect no match
aab aab
'(?>ab|abab){1,5}?M' /(?>ab|abab){1,5}?M/
abababababababababababM abababababababababababM
'(?>ab|abab){2}?M' /(?>ab|abab){2}?M/
abababM abababM
'((?(?=(a))a)+k)' /((?(?=(a))a)+k)/
bbak bbak
'((?(?=(a))a|)+k)' /((?(?=(a))a|)+k)/
bbak bbak
'(?(?!(b))a|b)+k' /(?(?!(b))a|b)+k/
ababbalbbadabak ababbalbbadabak
/(?!(b))c|b/ /(?!(b))c|b/
Ab Ab
Ac Ac
/(?=(b))b|c/ /(?=(b))b|c/
Ab Ab
Ac Ac
skipping to change at line 6412 skipping to change at line 6405
/^(?>.*?([A-Z])(?!.*\1)){26}/i /^(?>.*?([A-Z])(?!.*\1)){26}/i
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
Jackdaws love my big sphinx of quartz. Jackdaws love my big sphinx of quartz.
Pack my box with five dozen liquor jugs. Pack my box with five dozen liquor jugs.
\= Expect no match \= Expect no match
The quick brown fox jumps over the lazy cat. The quick brown fox jumps over the lazy cat.
Hackdaws love my big sphinx of quartz. Hackdaws love my big sphinx of quartz.
Pack my fox with five dozen liquor jugs. Pack my fox with five dozen liquor jugs.
"(?<=X(?(DEFINE)(A)))X(*F)" /(?<=X(?(DEFINE)(A)))X(*F)/
\= Expect no match \= Expect no match
AXYZ AXYZ
"(?<=X(?(DEFINE)(A)))." /(?<=X(?(DEFINE)(A)))./
AXYZ AXYZ
"(?<=X(?(DEFINE)(.*))Y)." /(?<=X(?(DEFINE)(.*))Y)./
AXYZ AXYZ
"(?<=X(?(DEFINE)(Y))(?1))." /(?<=X(?(DEFINE)(Y))(?1))./
AXYZ AXYZ
"(?(DEFINE)(?<foo>bar))(?<![-a-z0-9])word" /(?(DEFINE)(?<foo>bar))(?<![-a-z0-9])word/
word word
# End of testinput1 # End of testinput1
 End of changes. 25 change blocks. 
34 lines changed or deleted 27 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)