1/-- Do not use the \x{} construct except with patterns that have the --/
2/-- /8 option set, because PCRE doesn't recognize them as UTF-8 unless --/
3No match
4/-- that option is set. However, the latest Perls recognize them always. --/
5No match
6
7\x{100}ab/8
8  \x{100}ab
9 0: \x{100}ab
10
11/a\x{100}*b/8
12    ab
13 0: ab
14    a\x{100}b
15 0: a\x{100}b
16    a\x{100}\x{100}b
17 0: a\x{100}\x{100}b
18
19/a\x{100}+b/8
20    a\x{100}b
21 0: a\x{100}b
22    a\x{100}\x{100}b
23 0: a\x{100}\x{100}b
24    *** Failers
25No match
26    ab
27No match
28
29/\bX/8
30    Xoanon
31 0: X
32    +Xoanon
33 0: X
34    \x{300}Xoanon
35 0: X
36    *** Failers
37No match
38    YXoanon
39No match
40
41/\BX/8
42    YXoanon
43 0: X
44    *** Failers
45No match
46    Xoanon
47No match
48    +Xoanon
49No match
50    \x{300}Xoanon
51No match
52
53/X\b/8
54    X+oanon
55 0: X
56    ZX\x{300}oanon
57 0: X
58    FAX
59 0: X
60    *** Failers
61No match
62    Xoanon
63No match
64
65/X\B/8
66    Xoanon
67 0: X
68    *** Failers
69No match
70    X+oanon
71No match
72    ZX\x{300}oanon
73No match
74    FAX
75No match
76
77/[^a]/8
78    abcd
79 0: b
80    a\x{100}
81 0: \x{100}
82
83/^[abc\x{123}\x{400}-\x{402}]{2,3}\d/8
84    ab99
85 0: ab9
86    \x{123}\x{123}45
87 0: \x{123}\x{123}4
88    \x{400}\x{401}\x{402}6
89 0: \x{400}\x{401}\x{402}6
90    *** Failers
91No match
92    d99
93No match
94    \x{123}\x{122}4
95No match
96    \x{400}\x{403}6
97No match
98    \x{400}\x{401}\x{402}\x{402}6
99No match
100
101/abc/8
102    �]
103Error -10
104105Error -10
106    ���
107Error -10
108    ���\?
109No match
110
111/a.b/8
112    acb
113 0: acb
114    a\x7fb
115 0: a\x{7f}b
116    a\x{100}b
117 0: a\x{100}b
118    *** Failers
119No match
120    a\nb
121No match
122
123/^[a\x{c0}]/8
124    *** Failers
125No match
126    \x{100}
127No match
128
129/(?<=aXb)cd/8
130    aXbcd
131 0: cd
132
133/(?<=a\x{100}b)cd/8
134    a\x{100}bcd
135 0: cd
136
137/(?<=a\x{100000}b)cd/8
138    a\x{100000}bcd
139 0: cd
140
141/(?:\x{100}){3}b/8
142    \x{100}\x{100}\x{100}b
143 0: \x{100}\x{100}\x{100}b
144    *** Failers
145No match
146    \x{100}\x{100}b
147No match
148
149/\x{ab}/8
150    \x{ab}
151 0: \x{ab}
152    \xc2\xab
153 0: \x{ab}
154    *** Failers
155No match
156    \x00{ab}
157No match
158
159/^[^a]{2}/8
160    \x{100}bc
161 0: \x{100}b
162
163/^[^a]{2,}/8
164    \x{100}bcAa
165 0: \x{100}bcA
166
167/^[^a]{2,}?/8
168    \x{100}bca
169 0: \x{100}b
170
171/^[^a]{2}/8i
172    \x{100}bc
173 0: \x{100}b
174
175/^[^a]{2,}/8i
176    \x{100}bcAa
177 0: \x{100}bc
178
179/^[^a]{2,}?/8iU
180    \x{100}bca
181 0: \x{100}bc
182
183/\x{100}{0,0}/8
184    abcd
185 0:
186
187/\x{100}?/8
188    abcd
189 0:
190    \x{100}\x{100}
191 0: \x{100}
192
193/\x{100}{0,3}/8
194    \x{100}\x{100}
195 0: \x{100}\x{100}
196    \x{100}\x{100}\x{100}\x{100}
197 0: \x{100}\x{100}\x{100}
198
199/\x{100}*/8
200    abce
201 0:
202    \x{100}\x{100}\x{100}\x{100}
203 0: \x{100}\x{100}\x{100}\x{100}
204
205/\x{100}{1,1}/8
206    abcd\x{100}\x{100}\x{100}\x{100}
207 0: \x{100}
208
209/\x{100}{1,3}/8
210    abcd\x{100}\x{100}\x{100}\x{100}
211 0: \x{100}\x{100}\x{100}
212
213/\x{100}+/8
214    abcd\x{100}\x{100}\x{100}\x{100}
215 0: \x{100}\x{100}\x{100}\x{100}
216
217/\x{100}{3}/8
218    abcd\x{100}\x{100}\x{100}XX
219 0: \x{100}\x{100}\x{100}
220
221/\x{100}{3,5}/8
222    abcd\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}XX
223 0: \x{100}\x{100}\x{100}\x{100}\x{100}
224
225/\x{100}{3,}/8
226    abcd\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}XX
227 0: \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}
228
229/(?<=a\x{100}{2}b)X/8
230    Xyyya\x{100}\x{100}bXzzz
231 0: X
232
233/\D*/8
234  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
235 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
236
237/\D*/8
238  \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}
239 0: \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}
240
241/\D/8
242    1X2
243 0: X
244    1\x{100}2
245 0: \x{100}
246
247/>\S/8
248    > >X Y
249 0: >X
250    > >\x{100} Y
251 0: >\x{100}
252
253/\d/8
254    \x{100}3
255 0: 3
256
257/\s/8
258    \x{100} X
259 0:
260
261/\D+/8
262    12abcd34
263 0: abcd
264    *** Failers
265 0: *** Failers
266    1234
267No match
268
269/\d+/8
270    12abcd34
271 0: 12
272     *** Failers
273No match
274
275/\d{2,3}/8
276    12abcd34
277 0: 12
278    1234abcd
279 0: 123
280     *** Failers
281No match
282    1.4
283No match
284
285/\S+/8
286    12abcd34
287 0: 12abcd34
288    *** Failers
289 0: ***
290     \    \
291No match
292
293/>\s+</8
294    12>      <34
295 0: >      <
296    *** Failers
297No match
298
299/>\s{2,3}</8
300    ab>  <cd
301 0: >  <
302    ab>   <ce
303 0: >   <
304    *** Failers
305No match
306    ab>    <cd
307No match
308
309/>\s{2,3}?</8
310    ab>  <cd
311 0: >  <
312    ab>   <ce
313 0: >   <
314    *** Failers
315No match
316    ab>    <cd
317No match
318
319/\w+/8
320    12      34
321 0: 12
322     *** Failers
323 0: Failers
324    +++=*!
325No match
326
327/\w{2,3}/8
328    ab  cd
329 0: ab
330    abcd ce
331 0: abc
332    *** Failers
333 0: Fai
334    a.b.c
335No match
336
337/\W+/8
338    12====34
339 0: ====
340    *** Failers
341 0: ***
342    abcd
343No match
344
345/\W{2,3}/8
346    ab====cd
347 0: ===
348    ab==cd
349 0: ==
350    *** Failers
351 0: ***
352    a.b.c
353No match
354
355/\W{2,3}?/8U
356    ab====cd
357 0: ===
358     ab==cd
359 0: ==
360    *** Failers
361 0: ***
362     a.b.c
363No match
364
365/[\x{100}]/8
366    \x{100}
367 0: \x{100}
368    Z\x{100}
369 0: \x{100}
370    \x{100}Z
371 0: \x{100}
372    *** Failers
373No match
374
375/[Z\x{100}]/8
376    Z\x{100}
377 0: Z
378    \x{100}
379 0: \x{100}
380    \x{100}Z
381 0: \x{100}
382    *** Failers
383No match
384
385/[\x{100}\x{200}]/8
386   ab\x{100}cd
387 0: \x{100}
388   ab\x{200}cd
389 0: \x{200}
390   *** Failers
391No match
392
393/[\x{100}-\x{200}]/8
394   ab\x{100}cd
395 0: \x{100}
396   ab\x{200}cd
397 0: \x{200}
398   ab\x{111}cd
399 0: \x{111}
400   *** Failers
401No match
402
403/[z-\x{200}]/8
404   ab\x{100}cd
405 0: \x{100}
406   ab\x{200}cd
407 0: \x{200}
408   ab\x{111}cd
409 0: \x{111}
410   abzcd
411 0: z
412   ab|cd
413 0: |
414   *** Failers
415No match
416
417/[Q\x{100}\x{200}]/8
418   ab\x{100}cd
419 0: \x{100}
420   ab\x{200}cd
421 0: \x{200}
422   Q?
423 0: Q
424   *** Failers
425No match
426
427/[Q\x{100}-\x{200}]/8
428   ab\x{100}cd
429 0: \x{100}
430   ab\x{200}cd
431 0: \x{200}
432   ab\x{111}cd
433 0: \x{111}
434   Q?
435 0: Q
436   *** Failers
437No match
438
439/[Qz-\x{200}]/8
440   ab\x{100}cd
441 0: \x{100}
442   ab\x{200}cd
443 0: \x{200}
444   ab\x{111}cd
445 0: \x{111}
446   abzcd
447 0: z
448   ab|cd
449 0: |
450   Q?
451 0: Q
452   *** Failers
453No match
454
455/[\x{100}\x{200}]{1,3}/8
456   ab\x{100}cd
457 0: \x{100}
458   ab\x{200}cd
459 0: \x{200}
460   ab\x{200}\x{100}\x{200}\x{100}cd
461 0: \x{200}\x{100}\x{200}
462   *** Failers
463No match
464
465/[\x{100}\x{200}]{1,3}?/8U
466   ab\x{100}cd
467 0: \x{100}
468   ab\x{200}cd
469 0: \x{200}
470   ab\x{200}\x{100}\x{200}\x{100}cd
471 0: \x{200}\x{100}\x{200}
472   *** Failers
473No match
474
475/[Q\x{100}\x{200}]{1,3}/8
476   ab\x{100}cd
477 0: \x{100}
478   ab\x{200}cd
479 0: \x{200}
480   ab\x{200}\x{100}\x{200}\x{100}cd
481 0: \x{200}\x{100}\x{200}
482   *** Failers
483No match
484
485/[Q\x{100}\x{200}]{1,3}?/8U
486   ab\x{100}cd
487 0: \x{100}
488   ab\x{200}cd
489 0: \x{200}
490   ab\x{200}\x{100}\x{200}\x{100}cd
491 0: \x{200}\x{100}\x{200}
492   *** Failers
493No match
494
495/(?<=[\x{100}\x{200}])X/8
496    abc\x{200}X
497 0: X
498    abc\x{100}X
499 0: X
500    *** Failers
501No match
502    X
503No match
504
505/(?<=[Q\x{100}\x{200}])X/8
506    abc\x{200}X
507 0: X
508    abc\x{100}X
509 0: X
510    abQX
511 0: X
512    *** Failers
513No match
514    X
515No match
516
517/(?<=[\x{100}\x{200}]{3})X/8
518    abc\x{100}\x{200}\x{100}X
519 0: X
520    *** Failers
521No match
522    abc\x{200}X
523No match
524    X
525No match
526
527/[^\x{100}\x{200}]X/8
528    AX
529 0: AX
530    \x{150}X
531 0: \x{150}X
532    \x{500}X
533 0: \x{500}X
534    *** Failers
535No match
536    \x{100}X
537No match
538    \x{200}X
539No match
540
541/[^Q\x{100}\x{200}]X/8
542    AX
543 0: AX
544    \x{150}X
545 0: \x{150}X
546    \x{500}X
547 0: \x{500}X
548    *** Failers
549No match
550    \x{100}X
551No match
552    \x{200}X
553No match
554    QX
555No match
556
557/[^\x{100}-\x{200}]X/8
558    AX
559 0: AX
560    \x{500}X
561 0: \x{500}X
562    *** Failers
563No match
564    \x{100}X
565No match
566    \x{150}X
567No match
568    \x{200}X
569No match
570
571/[z-\x{100}]/8i
572    z
573 0: z
574    Z
575 0: Z
576    \x{100}
577 0: \x{100}
578    *** Failers
579No match
580    \x{102}
581No match
582    y
583No match
584
585/[\xFF]/
586    >\xff<
587 0: \xff
588
589/[\xff]/8
590    >\x{ff}<
591 0: \x{ff}
592
593/[^\xFF]/
594    XYZ
595 0: X
596
597/[^\xff]/8
598    XYZ
599 0: X
600    \x{123}
601 0: \x{123}
602
603/^[ac]*b/8
604  xb
605No match
606
607/^[ac\x{100}]*b/8
608  xb
609No match
610
611/^[^x]*b/8i
612  xb
613No match
614
615/^[^x]*b/8
616  xb
617No match
618
619/^\d*b/8
620  xb
621No match
622
623/^\x{85}$/8i
624    \x{85}
625 0: \x{85}
626
627/^abc./mgx8<any>
628    abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
629 0: abc1
630 0: abc2
631 0: abc3
632 0: abc4
633 0: abc5
634 0: abc6
635 0: abc7
636 0: abc8
637 0: abc9
638
639/abc.$/mgx8<any>
640    abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
641 0: abc1
642 0: abc2
643 0: abc3
644 0: abc4
645 0: abc5
646 0: abc6
647 0: abc7
648 0: abc8
649 0: abc9
650
651/^a\Rb/8<bsr_unicode>
652    a\nb
653 0: a\x{0a}b
654    a\rb
655 0: a\x{0d}b
656    a\r\nb
657 0: a\x{0d}\x{0a}b
658    a\x0bb
659 0: a\x{0b}b
660    a\x0cb
661 0: a\x{0c}b
662    a\x{85}b
663 0: a\x{85}b
664    a\x{2028}b
665 0: a\x{2028}b
666    a\x{2029}b
667 0: a\x{2029}b
668    ** Failers
669No match
670    a\n\rb
671No match
672
673/^a\R*b/8<bsr_unicode>
674    ab
675 0: ab
676    a\nb
677 0: a\x{0a}b
678    a\rb
679 0: a\x{0d}b
680    a\r\nb
681 0: a\x{0d}\x{0a}b
682    a\x0bb
683 0: a\x{0b}b
684    a\x0c\x{2028}\x{2029}b
685 0: a\x{0c}\x{2028}\x{2029}b
686    a\x{85}b
687 0: a\x{85}b
688    a\n\rb
689 0: a\x{0a}\x{0d}b
690    a\n\r\x{85}\x0cb
691 0: a\x{0a}\x{0d}\x{85}\x{0c}b
692
693/^a\R+b/8<bsr_unicode>
694    a\nb
695 0: a\x{0a}b
696    a\rb
697 0: a\x{0d}b
698    a\r\nb
699 0: a\x{0d}\x{0a}b
700    a\x0bb
701 0: a\x{0b}b
702    a\x0c\x{2028}\x{2029}b
703 0: a\x{0c}\x{2028}\x{2029}b
704    a\x{85}b
705 0: a\x{85}b
706    a\n\rb
707 0: a\x{0a}\x{0d}b
708    a\n\r\x{85}\x0cb
709 0: a\x{0a}\x{0d}\x{85}\x{0c}b
710    ** Failers
711No match
712    ab
713No match
714
715/^a\R{1,3}b/8<bsr_unicode>
716    a\nb
717 0: a\x{0a}b
718    a\n\rb
719 0: a\x{0a}\x{0d}b
720    a\n\r\x{85}b
721 0: a\x{0a}\x{0d}\x{85}b
722    a\r\n\r\nb
723 0: a\x{0d}\x{0a}\x{0d}\x{0a}b
724    a\r\n\r\n\r\nb
725 0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
726    a\n\r\n\rb
727 0: a\x{0a}\x{0d}\x{0a}\x{0d}b
728    a\n\n\r\nb
729 0: a\x{0a}\x{0a}\x{0d}\x{0a}b
730    ** Failers
731No match
732    a\n\n\n\rb
733No match
734    a\r
735No match
736
737/\h+\V?\v{3,4}/8
738    \x09\x20\x{a0}X\x0a\x0b\x0c\x0d\x0a
739 0: \x{09} \x{a0}X\x{0a}\x{0b}\x{0c}\x{0d}
740
741/\V?\v{3,4}/8
742    \x20\x{a0}X\x0a\x0b\x0c\x0d\x0a
743 0: X\x{0a}\x{0b}\x{0c}\x{0d}
744
745/\h+\V?\v{3,4}/8
746    >\x09\x20\x{a0}X\x0a\x0a\x0a<
747 0: \x{09} \x{a0}X\x{0a}\x{0a}\x{0a}
748
749/\V?\v{3,4}/8
750    >\x09\x20\x{a0}X\x0a\x0a\x0a<
751 0: X\x{0a}\x{0a}\x{0a}
752
753/\H\h\V\v/8
754    X X\x0a
755 0: X X\x{0a}
756    X\x09X\x0b
757 0: X\x{09}X\x{0b}
758    ** Failers
759No match
760    \x{a0} X\x0a
761No match
762
763/\H*\h+\V?\v{3,4}/8
764    \x09\x20\x{a0}X\x0a\x0b\x0c\x0d\x0a
765 0: \x{09} \x{a0}X\x{0a}\x{0b}\x{0c}\x{0d}
766    \x09\x20\x{a0}\x0a\x0b\x0c\x0d\x0a
767 0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}\x{0d}
768    \x09\x20\x{a0}\x0a\x0b\x0c
769 0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}
770    ** Failers
771No match
772    \x09\x20\x{a0}\x0a\x0b
773No match
774
775/\H\h\V\v/8
776    \x{3001}\x{3000}\x{2030}\x{2028}
777 0: \x{3001}\x{3000}\x{2030}\x{2028}
778    X\x{180e}X\x{85}
779 0: X\x{180e}X\x{85}
780    ** Failers
781No match
782    \x{2009} X\x0a
783No match
784
785/\H*\h+\V?\v{3,4}/8
786    \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x0c\x0d\x0a
787 0: \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x{0c}\x{0d}
788    \x09\x{205f}\x{a0}\x0a\x{2029}\x0c\x{2028}\x0a
789 0: \x{09}\x{205f}\x{a0}\x{0a}\x{2029}\x{0c}\x{2028}
790    \x09\x20\x{202f}\x0a\x0b\x0c
791 0: \x{09} \x{202f}\x{0a}\x{0b}\x{0c}
792    ** Failers
793No match
794    \x09\x{200a}\x{a0}\x{2028}\x0b
795No match
796
797/a\Rb/I8<bsr_anycrlf>
798Capturing subpattern count = 0
799Options: bsr_anycrlf utf8
800First char = 'a'
801Need char = 'b'
802    a\rb
803 0: a\x{0d}b
804    a\nb
805 0: a\x{0a}b
806    a\r\nb
807 0: a\x{0d}\x{0a}b
808    ** Failers
809No match
810    a\x{85}b
811No match
812    a\x0bb
813No match
814
815/a\Rb/I8<bsr_unicode>
816Capturing subpattern count = 0
817Options: bsr_unicode utf8
818First char = 'a'
819Need char = 'b'
820    a\rb
821 0: a\x{0d}b
822    a\nb
823 0: a\x{0a}b
824    a\r\nb
825 0: a\x{0d}\x{0a}b
826    a\x{85}b
827 0: a\x{85}b
828    a\x0bb
829 0: a\x{0b}b
830    ** Failers
831No match
832    a\x{85}b\<bsr_anycrlf>
833No match
834    a\x0bb\<bsr_anycrlf>
835No match
836
837/a\R?b/I8<bsr_anycrlf>
838Capturing subpattern count = 0
839Options: bsr_anycrlf utf8
840First char = 'a'
841Need char = 'b'
842    a\rb
843 0: a\x{0d}b
844    a\nb
845 0: a\x{0a}b
846    a\r\nb
847 0: a\x{0d}\x{0a}b
848    ** Failers
849No match
850    a\x{85}b
851No match
852    a\x0bb
853No match
854
855/a\R?b/I8<bsr_unicode>
856Capturing subpattern count = 0
857Options: bsr_unicode utf8
858First char = 'a'
859Need char = 'b'
860    a\rb
861 0: a\x{0d}b
862    a\nb
863 0: a\x{0a}b
864    a\r\nb
865 0: a\x{0d}\x{0a}b
866    a\x{85}b
867 0: a\x{85}b
868    a\x0bb
869 0: a\x{0b}b
870    ** Failers
871No match
872    a\x{85}b\<bsr_anycrlf>
873No match
874    a\x0bb\<bsr_anycrlf>
875No match
876
877/ End of testinput 8 /
878