X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=src%2Fexternal%2Fpcre2-10.32%2Ftestdata%2Ftestinput3;fp=src%2Fexternal%2Fpcre2-10.32%2Ftestdata%2Ftestinput3;h=71e95fec4ae07825bc4405d9329475ec279159ca;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=0000000000000000000000000000000000000000;hpb=927951d1c1ad45ba9e7325f07d996154a91c911b;p=ossec-hids.git diff --git a/src/external/pcre2-10.32/testdata/testinput3 b/src/external/pcre2-10.32/testdata/testinput3 new file mode 100644 index 0000000..71e95fe --- /dev/null +++ b/src/external/pcre2-10.32/testdata/testinput3 @@ -0,0 +1,104 @@ +# This set of tests checks local-specific features, using the "fr_FR" locale. +# It is not Perl-compatible. When run via RunTest, the locale is edited to +# be whichever of "fr_FR", "french", or "fr" is found to exist. There is +# different version of this file called wintestinput3 for use on Windows, +# where the locale is called "french" and the tests are run using +# RunTest.bat. + +#forbid_utf + +/^[\w]+/ +\= Expect no match + École + +/^[\w]+/locale=fr_FR + École + +/^[\w]+/ +\= Expect no match + École + +/^[\W]+/ + École + +/^[\W]+/locale=fr_FR +\= Expect no match + École + +/[\b]/ + \b +\= Expect no match + a + +/[\b]/locale=fr_FR + \b +\= Expect no match + a + +/^\w+/ +\= Expect no match + École + +/^\w+/locale=fr_FR + École + +/(.+)\b(.+)/ + École + +/(.+)\b(.+)/locale=fr_FR +\= Expect no match + École + +/École/i + École +\= Expect no match + école + +/École/i,locale=fr_FR + École + école + +/\w/I + +/\w/I,locale=fr_FR + +# All remaining tests are in the fr_FR locale, so set the default. + +#pattern locale=fr_FR + +/^[\xc8-\xc9]/i + École + école + +/^[\xc8-\xc9]/ + École +\= Expect no match + école + +/\W+/ + >>>\xaa<<< + >>>\xba<<< + +/[\W]+/ + >>>\xaa<<< + >>>\xba<<< + +/[^[:alpha:]]+/ + >>>\xaa<<< + >>>\xba<<< + +/\w+/ + >>>\xaa<<< + >>>\xba<<< + +/[\w]+/ + >>>\xaa<<< + >>>\xba<<< + +/[[:alpha:]]+/ + >>>\xaa<<< + >>>\xba<<< + +/[[:alpha:]][[:lower:]][[:upper:]]/IB + +# End of testinput3