xref: /PHP-7.1/ext/pcre/pcrelib/testdata/testoutput3 (revision 23917b45)
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 8W
9
10/^[\w]+/
11    *** Failers
12No match
13    �cole
14No match
15
16/^[\w]+/Lfr_FR
17    �cole
18 0: �cole
19
20/^[\w]+/
21    *** Failers
22No match
23    �cole
24No match
25
26/^[\W]+/
27    �cole
28 0: \xc9
29
30/^[\W]+/Lfr_FR
31    *** Failers
32 0: ***
33    �cole
34No match
35
36/[\b]/
37    \b
38 0: \x08
39    *** Failers
40No match
41    a
42No match
43
44/[\b]/Lfr_FR
45    \b
46 0: \x08
47    *** Failers
48No match
49    a
50No match
51
52/^\w+/
53    *** Failers
54No match
55    �cole
56No match
57
58/^\w+/Lfr_FR
59    �cole
60 0: �cole
61
62/(.+)\b(.+)/
63    �cole
64 0: \xc9cole
65 1: \xc9
66 2: cole
67
68/(.+)\b(.+)/Lfr_FR
69    *** Failers
70 0: *** Failers
71 1: ***
72 2: Failers
73    �cole
74No match
75
76/�cole/i
77    �cole
78 0: \xc9cole
79    *** Failers
80No match
81    �cole
82No match
83
84/�cole/iLfr_FR
85    �cole
86 0: �cole
87    �cole
88 0: �cole
89
90/\w/IS
91Capturing subpattern count = 0
92No options
93No first char
94No need char
95Subject length lower bound = 1
96Starting chars: 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
97  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
98
99/\w/ISLfr_FR
100Capturing subpattern count = 0
101No options
102No first char
103No need char
104Subject length lower bound = 1
105Starting chars: 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
106  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
107  � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �
108  � � � � � � � � � � � � � � � � � � � � � � � � � � � �
109
110/^[\xc8-\xc9]/iLfr_FR
111    �cole
112 0: �
113    �cole
114 0: �
115
116/^[\xc8-\xc9]/Lfr_FR
117    �cole
118 0: �
119    *** Failers
120No match
121    �cole
122No match
123
124/\W+/Lfr_FR
125    >>>\xaa<<<
126 0: >>>
127    >>>\xba<<<
128 0: >>>
129
130/[\W]+/Lfr_FR
131    >>>\xaa<<<
132 0: >>>
133    >>>\xba<<<
134 0: >>>
135
136/[^[:alpha:]]+/Lfr_FR
137    >>>\xaa<<<
138 0: >>>
139    >>>\xba<<<
140 0: >>>
141
142/\w+/Lfr_FR
143    >>>\xaa<<<
144 0: �
145    >>>\xba<<<
146 0: �
147
148/[\w]+/Lfr_FR
149    >>>\xaa<<<
150 0: �
151    >>>\xba<<<
152 0: �
153
154/[[:alpha:]]+/Lfr_FR
155    >>>\xaa<<<
156 0: �
157    >>>\xba<<<
158 0: �
159
160/[[:alpha:]][[:lower:]][[:upper:]]/DZLfr_FR
161------------------------------------------------------------------
162        Bra
163        [A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
164        [a-z\xb5\xdf-\xf6\xf8-\xff]
165        [A-Z\xc0-\xd6\xd8-\xde]
166        Ket
167        End
168------------------------------------------------------------------
169Capturing subpattern count = 0
170No options
171No first char
172No need char
173
174/-- End of testinput3 --/
175