2015-10-17 09:50:56 -04:00
|
|
|
# These are tests of \C that do not involve UTF. They are not run when \C is
|
|
|
|
# disabled by compiling with --enable-never-backslash-C.
|
|
|
|
|
|
|
|
/\C+\D \C+\d \C+\S \C+\s \C+\W \C+\w \C+. \C+\R \C+\H \C+\h \C+\V \C+\v \C+\Z \C+\z \C+$/Bx
|
|
|
|
------------------------------------------------------------------
|
|
|
|
Bra
|
|
|
|
AllAny+
|
|
|
|
\D
|
|
|
|
AllAny+
|
|
|
|
\d
|
|
|
|
AllAny+
|
|
|
|
\S
|
|
|
|
AllAny+
|
|
|
|
\s
|
|
|
|
AllAny+
|
|
|
|
\W
|
|
|
|
AllAny+
|
|
|
|
\w
|
|
|
|
AllAny+
|
|
|
|
Any
|
|
|
|
AllAny+
|
|
|
|
\R
|
|
|
|
AllAny+
|
|
|
|
\H
|
|
|
|
AllAny+
|
|
|
|
\h
|
|
|
|
AllAny+
|
|
|
|
\V
|
|
|
|
AllAny+
|
|
|
|
\v
|
|
|
|
AllAny+
|
|
|
|
\Z
|
|
|
|
AllAny++
|
|
|
|
\z
|
|
|
|
AllAny+
|
|
|
|
$
|
|
|
|
Ket
|
|
|
|
End
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/\D+\C \d+\C \S+\C \s+\C \W+\C \w+\C .+\C \R+\C \H+\C \h+\C \V+\C \v+\C a+\C \n+\C \C+\C/Bx
|
|
|
|
------------------------------------------------------------------
|
|
|
|
Bra
|
|
|
|
\D+
|
|
|
|
AllAny
|
|
|
|
\d+
|
|
|
|
AllAny
|
|
|
|
\S+
|
|
|
|
AllAny
|
|
|
|
\s+
|
|
|
|
AllAny
|
|
|
|
\W+
|
|
|
|
AllAny
|
|
|
|
\w+
|
|
|
|
AllAny
|
|
|
|
Any+
|
|
|
|
AllAny
|
|
|
|
\R+
|
|
|
|
AllAny
|
|
|
|
\H+
|
|
|
|
AllAny
|
|
|
|
\h+
|
|
|
|
AllAny
|
|
|
|
\V+
|
|
|
|
AllAny
|
|
|
|
\v+
|
|
|
|
AllAny
|
|
|
|
a+
|
|
|
|
AllAny
|
|
|
|
\x0a+
|
|
|
|
AllAny
|
|
|
|
AllAny+
|
|
|
|
AllAny
|
|
|
|
Ket
|
|
|
|
End
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/ab\Cde/never_backslash_c
|
|
|
|
Failed: error 183 at offset 3: using \C is disabled by the application
|
|
|
|
|
2015-12-15 13:21:49 -05:00
|
|
|
/ab\Cde/info
|
|
|
|
Capturing subpattern count = 0
|
|
|
|
Contains \C
|
|
|
|
First code unit = 'a'
|
|
|
|
Last code unit = 'e'
|
|
|
|
Subject length lower bound = 5
|
2015-10-17 09:50:56 -04:00
|
|
|
abXde
|
|
|
|
0: abXde
|
|
|
|
|
|
|
|
/(?<=ab\Cde)X/
|
|
|
|
abZdeX
|
|
|
|
0: X
|
|
|
|
|
|
|
|
# End of testinput21
|