new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / external / pcre2-10.32 / testdata / testinput3
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
14 /^[\w]+/locale=fr_FR
15     École
16
17 /^[\w]+/
18 \= Expect no match
19     École
20
21 /^[\W]+/
22     École
23
24 /^[\W]+/locale=fr_FR
25 \= Expect no match
26     École
27
28 /[\b]/
29     \b
30 \= Expect no match
31     a
32
33 /[\b]/locale=fr_FR
34     \b
35 \= Expect no match
36     a
37
38 /^\w+/
39 \= Expect no match
40     École
41
42 /^\w+/locale=fr_FR
43     École
44
45 /(.+)\b(.+)/
46     École
47
48 /(.+)\b(.+)/locale=fr_FR
49 \= Expect no match
50     École
51
52 /École/i
53     École
54 \= Expect no match
55     école
56
57 /École/i,locale=fr_FR
58     École
59     école
60
61 /\w/I
62
63 /\w/I,locale=fr_FR
64
65 # All remaining tests are in the fr_FR locale, so set the default.
66
67 #pattern locale=fr_FR
68
69 /^[\xc8-\xc9]/i
70     École
71     école
72
73 /^[\xc8-\xc9]/
74     École
75 \= Expect no match
76     école
77
78 /\W+/
79     >>>\xaa<<<
80     >>>\xba<<< 
81
82 /[\W]+/
83     >>>\xaa<<<
84     >>>\xba<<< 
85
86 /[^[:alpha:]]+/
87     >>>\xaa<<<
88     >>>\xba<<< 
89
90 /\w+/
91     >>>\xaa<<<
92     >>>\xba<<< 
93
94 /[\w]+/
95     >>>\xaa<<<
96     >>>\xba<<< 
97
98 /[[:alpha:]]+/
99     >>>\xaa<<<
100     >>>\xba<<< 
101     
102 /[[:alpha:]][[:lower:]][[:upper:]]/IB
103
104 # End of testinput3