new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / external / pcre2-10.32 / testdata / testoutput3A
1 # This set of tests checks local-specific features, using the "fr_FR" locale. 
2 # It is not Perl-compatible. When run via RunTest, the locale is edited to
3 # be whichever of "fr_FR", "french", or "fr" is found to exist. There is
4 # different version of this file called wintestinput3 for use on Windows,
5 # where the locale is called "french" and the tests are run using
6 # RunTest.bat. 
7
8 #forbid_utf
9
10 /^[\w]+/
11 \= Expect no match
12     École
13 No match
14
15 /^[\w]+/locale=fr_FR
16     École
17  0: École
18
19 /^[\w]+/
20 \= Expect no match
21     École
22 No match
23
24 /^[\W]+/
25     École
26  0: \xc9
27
28 /^[\W]+/locale=fr_FR
29 \= Expect no match
30     École
31 No match
32
33 /[\b]/
34     \b
35  0: \x08
36 \= Expect no match
37     a
38 No match
39
40 /[\b]/locale=fr_FR
41     \b
42  0: \x08
43 \= Expect no match
44     a
45 No match
46
47 /^\w+/
48 \= Expect no match
49     École
50 No match
51
52 /^\w+/locale=fr_FR
53     École
54  0: École
55
56 /(.+)\b(.+)/
57     École
58  0: \xc9cole
59  1: \xc9
60  2: cole
61
62 /(.+)\b(.+)/locale=fr_FR
63 \= Expect no match
64     École
65 No match
66
67 /École/i
68     École
69  0: \xc9cole
70 \= Expect no match
71     école
72 No match
73
74 /École/i,locale=fr_FR
75     École
76  0: École
77     école
78  0: école
79
80 /\w/I
81 Capturing subpattern count = 0
82 Starting code units: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P 
83   Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z 
84 Subject length lower bound = 1
85
86 /\w/I,locale=fr_FR
87 Capturing subpattern count = 0
88 Starting code units: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P 
89   Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z 
90   ª µ º À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â 
91   ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ 
92 Subject length lower bound = 1
93
94 # All remaining tests are in the fr_FR locale, so set the default.
95
96 #pattern locale=fr_FR
97
98 /^[\xc8-\xc9]/i
99     École
100  0: É
101     école
102  0: é
103
104 /^[\xc8-\xc9]/
105     École
106  0: É
107 \= Expect no match
108     école
109 No match
110
111 /\W+/
112     >>>\xaa<<<
113  0: >>>
114     >>>\xba<<< 
115  0: >>>
116
117 /[\W]+/
118     >>>\xaa<<<
119  0: >>>
120     >>>\xba<<< 
121  0: >>>
122
123 /[^[:alpha:]]+/
124     >>>\xaa<<<
125  0: >>>
126     >>>\xba<<< 
127  0: >>>
128
129 /\w+/
130     >>>\xaa<<<
131  0: ª
132     >>>\xba<<< 
133  0: º
134
135 /[\w]+/
136     >>>\xaa<<<
137  0: ª
138     >>>\xba<<< 
139  0: º
140
141 /[[:alpha:]]+/
142     >>>\xaa<<<
143  0: ª
144     >>>\xba<<< 
145  0: º
146     
147 /[[:alpha:]][[:lower:]][[:upper:]]/IB
148 ------------------------------------------------------------------
149         Bra
150         [A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
151         [a-z\xaa\xb5\xba\xdf-\xf6\xf8-\xff]
152         [A-Z\xc0-\xd6\xd8-\xde]
153         Ket
154         End
155 ------------------------------------------------------------------
156 Capturing subpattern count = 0
157 Starting code units: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
158   a b c d e f g h i j k l m n o p q r s t u v w x y z ª µ º À Á Â Ã Ä Å Æ Ç 
159   È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í 
160   î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ 
161 Subject length lower bound = 3
162
163 # End of testinput3