2015-11-14 14:22:34 +01:00
|
|
|
# There are two sorts of patterns in this test. A number of them are
|
|
|
|
# representative patterns whose lengths and offsets are checked. This is just a
|
|
|
|
# doublecheck test to ensure the sizes don't go horribly wrong when something
|
|
|
|
# is changed. The operation of these patterns is checked in other tests.
|
|
|
|
#
|
|
|
|
# This file also contains tests whose output varies with code unit size and/or
|
|
|
|
# link size. Unicode support is required for these tests. There are separate
|
|
|
|
# output files for each code unit size and link size.
|
2014-08-05 18:51:32 +02:00
|
|
|
|
|
|
|
#pattern fullbincode,memory
|
|
|
|
|
|
|
|
/((?i)b)/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 21
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 16 Bra
|
|
|
|
4 8 CBra 1
|
|
|
|
10 /i b
|
|
|
|
12 8 Ket
|
|
|
|
16 16 Ket
|
|
|
|
20 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/(?s)(.*X|^B)/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 30
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 25 Bra
|
|
|
|
4 10 CBra 1
|
|
|
|
10 AllAny*
|
|
|
|
12 X
|
|
|
|
14 7 Alt
|
|
|
|
18 ^
|
|
|
|
19 B
|
|
|
|
21 17 Ket
|
|
|
|
25 25 Ket
|
|
|
|
29 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/(?s:.*X|^B)/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 28
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 23 Bra
|
|
|
|
4 8 Bra
|
|
|
|
8 AllAny*
|
|
|
|
10 X
|
|
|
|
12 7 Alt
|
|
|
|
16 ^
|
|
|
|
17 B
|
|
|
|
19 15 Ket
|
|
|
|
23 23 Ket
|
|
|
|
27 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/^[[:alnum:]]/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 43
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 38 Bra
|
|
|
|
4 ^
|
|
|
|
5 [0-9A-Za-z]
|
|
|
|
38 38 Ket
|
|
|
|
42 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/#/Ix
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 9
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 4 Bra
|
|
|
|
4 4 Ket
|
|
|
|
8 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2019-02-06 19:11:36 +01:00
|
|
|
Capture group count = 0
|
2014-08-05 18:51:32 +02:00
|
|
|
May match empty string
|
|
|
|
Options: extended
|
|
|
|
Subject length lower bound = 0
|
|
|
|
|
|
|
|
/a#/Ix
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 11
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 6 Bra
|
|
|
|
4 a
|
|
|
|
6 6 Ket
|
|
|
|
10 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2019-02-06 19:11:36 +01:00
|
|
|
Capture group count = 0
|
2014-08-05 18:51:32 +02:00
|
|
|
Options: extended
|
|
|
|
First code unit = 'a'
|
|
|
|
Subject length lower bound = 1
|
|
|
|
|
|
|
|
/x?+/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 11
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 6 Bra
|
|
|
|
4 x?+
|
|
|
|
6 6 Ket
|
|
|
|
10 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/x++/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 11
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 6 Bra
|
|
|
|
4 x++
|
|
|
|
6 6 Ket
|
|
|
|
10 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/x{1,3}+/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 15
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 10 Bra
|
|
|
|
4 x
|
|
|
|
6 x{0,2}+
|
|
|
|
10 10 Ket
|
|
|
|
14 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/(x)*+/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 22
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 17 Bra
|
|
|
|
4 Braposzero
|
|
|
|
5 8 CBraPos 1
|
|
|
|
11 x
|
|
|
|
13 8 KetRpos
|
|
|
|
17 17 Ket
|
|
|
|
21 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 132
|
|
|
|
------------------------------------------------------------------
|
|
|
|
0 127 Bra
|
|
|
|
4 ^
|
|
|
|
5 118 CBra 1
|
|
|
|
11 8 CBra 2
|
|
|
|
17 a+
|
|
|
|
19 8 Ket
|
|
|
|
23 40 CBra 3
|
|
|
|
29 [ab]+?
|
|
|
|
63 40 Ket
|
|
|
|
67 40 CBra 4
|
|
|
|
73 [bc]+
|
|
|
|
107 40 Ket
|
|
|
|
111 8 CBra 5
|
|
|
|
117 \w*+
|
|
|
|
119 8 Ket
|
|
|
|
123 118 Ket
|
|
|
|
127 127 Ket
|
|
|
|
131 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
"8J\$WE\<\.rX\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b"
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 828
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 823 Bra
|
|
|
|
4 8J$WE<.rX+ix[d1b!H#?vV0vrK:ZH1=2M>iV;?aPhFB<*vW@QW@sO9}cfZA-i'w%hKd6gt1UJP,15_#QY$M^Mss_U/]&LK9[5vQub^w[KDD<EjmhUZ?.akp2dF>qmj;2}YWFdYx.Ap]hjCPTP(n28k+3;o&WXqs/gOXdr$:r'do0;b4c(f_Gr="\4)[01T7ajQJvL$W~mL_sS/4h:x*[ZN=KLs&L5zX//>it,o:aU(;Z>pW&T7oP'2K^E:x9'c[%z-,64JQ5AeH_G#KijUKghQw^\vea3a?kka_G$8#`*kynsxzBLru']k_[7FrVx}^=$blx>s-N%j;D*aZDnsw:YKZ%Q.Kne9#hP?+b3(SOvL,^;&u5@?5C5Bhb=m-vEh_L15Jl]U)0RP6{q%L^_z5E'Dw6X
|
|
|
|
822 \b
|
|
|
|
823 823 Ket
|
|
|
|
827 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
"\$\<\.X\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b"
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 818
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 813 Bra
|
|
|
|
4 $<.X+ix[d1b!H#?vV0vrK:ZH1=2M>iV;?aPhFB<*vW@QW@sO9}cfZA-i'w%hKd6gt1UJP,15_#QY$M^Mss_U/]&LK9[5vQub^w[KDD<EjmhUZ?.akp2dF>qmj;2}YWFdYx.Ap]hjCPTP(n28k+3;o&WXqs/gOXdr$:r'do0;b4c(f_Gr="\4)[01T7ajQJvL$W~mL_sS/4h:x*[ZN=KLs&L5zX//>it,o:aU(;Z>pW&T7oP'2K^E:x9'c[%z-,64JQ5AeH_G#KijUKghQw^\vea3a?kka_G$8#`*kynsxzBLru']k_[7FrVx}^=$blx>s-N%j;D*aZDnsw:YKZ%Q.Kne9#hP?+b3(SOvL,^;&u5@?5C5Bhb=m-vEh_L15Jl]U)0RP6{q%L^_z5E'Dw6X
|
|
|
|
812 \b
|
|
|
|
813 813 Ket
|
|
|
|
817 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/(a(?1)b)/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 27
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 22 Bra
|
|
|
|
4 14 CBra 1
|
|
|
|
10 a
|
|
|
|
12 4 Recurse
|
|
|
|
16 b
|
|
|
|
18 14 Ket
|
|
|
|
22 22 Ket
|
|
|
|
26 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/(a(?1)+b)/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 35
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 30 Bra
|
|
|
|
4 22 CBra 1
|
|
|
|
10 a
|
2017-03-09 17:23:28 +01:00
|
|
|
12 8 SBra
|
2015-11-14 14:22:34 +01:00
|
|
|
16 4 Recurse
|
|
|
|
20 8 KetRmax
|
|
|
|
24 b
|
|
|
|
26 22 Ket
|
|
|
|
30 30 Ket
|
|
|
|
34 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/a(?P<name1>b|c)d(?P<longername2>e)/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 43
|
|
|
|
------------------------------------------------------------------
|
|
|
|
0 38 Bra
|
|
|
|
4 a
|
|
|
|
6 8 CBra 1
|
|
|
|
12 b
|
|
|
|
14 6 Alt
|
|
|
|
18 c
|
|
|
|
20 14 Ket
|
|
|
|
24 d
|
|
|
|
26 8 CBra 2
|
|
|
|
32 e
|
|
|
|
34 8 Ket
|
|
|
|
38 38 Ket
|
|
|
|
42 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/(?:a(?P<c>c(?P<d>d)))(?P<a>a)/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 55
|
|
|
|
------------------------------------------------------------------
|
|
|
|
0 50 Bra
|
|
|
|
4 30 Bra
|
|
|
|
8 a
|
|
|
|
10 20 CBra 1
|
|
|
|
16 c
|
|
|
|
18 8 CBra 2
|
|
|
|
24 d
|
|
|
|
26 8 Ket
|
|
|
|
30 20 Ket
|
|
|
|
34 30 Ket
|
|
|
|
38 8 CBra 3
|
|
|
|
44 a
|
|
|
|
46 8 Ket
|
|
|
|
50 50 Ket
|
|
|
|
54 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/(?P<a>a)...(?P=a)bbb(?P>a)d/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 39
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 34 Bra
|
|
|
|
4 8 CBra 1
|
|
|
|
10 a
|
|
|
|
12 8 Ket
|
|
|
|
16 Any
|
|
|
|
17 Any
|
|
|
|
18 Any
|
|
|
|
19 \1
|
|
|
|
22 bbb
|
|
|
|
28 4 Recurse
|
|
|
|
32 d
|
|
|
|
34 34 Ket
|
|
|
|
38 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/abc(?C255)de(?C)f/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 37
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 32 Bra
|
|
|
|
4 abc
|
|
|
|
10 Callout 255 10 1
|
|
|
|
18 de
|
|
|
|
22 Callout 0 16 1
|
|
|
|
30 f
|
|
|
|
32 32 Ket
|
|
|
|
36 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/abcde/auto_callout
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 67
|
|
|
|
------------------------------------------------------------------
|
|
|
|
0 62 Bra
|
|
|
|
4 Callout 255 0 1
|
|
|
|
12 a
|
|
|
|
14 Callout 255 1 1
|
|
|
|
22 b
|
|
|
|
24 Callout 255 2 1
|
|
|
|
32 c
|
|
|
|
34 Callout 255 3 1
|
|
|
|
42 d
|
|
|
|
44 Callout 255 4 1
|
|
|
|
52 e
|
|
|
|
54 Callout 255 5 0
|
|
|
|
62 62 Ket
|
|
|
|
66 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/\x{100}/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 12
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 7 Bra
|
|
|
|
4 \x{100}
|
|
|
|
7 7 Ket
|
|
|
|
11 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/\x{1000}/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 13
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 8 Bra
|
|
|
|
4 \x{1000}
|
|
|
|
8 8 Ket
|
|
|
|
12 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/\x{10000}/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 14
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 9 Bra
|
|
|
|
4 \x{10000}
|
|
|
|
9 9 Ket
|
|
|
|
13 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/\x{100000}/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 14
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 9 Bra
|
|
|
|
4 \x{100000}
|
|
|
|
9 9 Ket
|
|
|
|
13 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/\x{10ffff}/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 14
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 9 Bra
|
|
|
|
4 \x{10ffff}
|
|
|
|
9 9 Ket
|
|
|
|
13 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/\x{110000}/utf
|
|
|
|
Failed: error 134 at offset 9: character code point value in \x{} or \o{} is too large
|
|
|
|
|
|
|
|
/[\x{ff}]/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 12
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 7 Bra
|
|
|
|
4 \x{ff}
|
|
|
|
7 7 Ket
|
|
|
|
11 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[\x{100}]/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 12
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 7 Bra
|
|
|
|
4 \x{100}
|
|
|
|
7 7 Ket
|
|
|
|
11 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/\x80/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 12
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 7 Bra
|
|
|
|
4 \x{80}
|
|
|
|
7 7 Ket
|
|
|
|
11 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/\xff/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 12
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 7 Bra
|
|
|
|
4 \x{ff}
|
|
|
|
7 7 Ket
|
|
|
|
11 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/\x{0041}\x{2262}\x{0391}\x{002e}/I,utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 20
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 15 Bra
|
|
|
|
4 A\x{2262}\x{391}.
|
|
|
|
15 15 Ket
|
|
|
|
19 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2019-02-06 19:11:36 +01:00
|
|
|
Capture group count = 0
|
2014-08-05 18:51:32 +02:00
|
|
|
Options: utf
|
|
|
|
First code unit = 'A'
|
|
|
|
Last code unit = '.'
|
|
|
|
Subject length lower bound = 4
|
2015-11-14 14:22:34 +01:00
|
|
|
|
2014-08-05 18:51:32 +02:00
|
|
|
/\x{D55c}\x{ad6d}\x{C5B4}/I,utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 21
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 16 Bra
|
|
|
|
4 \x{d55c}\x{ad6d}\x{c5b4}
|
|
|
|
16 16 Ket
|
|
|
|
20 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2019-02-06 19:11:36 +01:00
|
|
|
Capture group count = 0
|
2014-08-05 18:51:32 +02:00
|
|
|
Options: utf
|
|
|
|
First code unit = \xed
|
|
|
|
Last code unit = \xb4
|
|
|
|
Subject length lower bound = 3
|
|
|
|
|
|
|
|
/\x{65e5}\x{672c}\x{8a9e}/I,utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 21
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 16 Bra
|
|
|
|
4 \x{65e5}\x{672c}\x{8a9e}
|
|
|
|
16 16 Ket
|
|
|
|
20 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2019-02-06 19:11:36 +01:00
|
|
|
Capture group count = 0
|
2014-08-05 18:51:32 +02:00
|
|
|
Options: utf
|
|
|
|
First code unit = \xe6
|
|
|
|
Last code unit = \x9e
|
|
|
|
Subject length lower bound = 3
|
|
|
|
|
|
|
|
/[\x{100}]/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 12
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 7 Bra
|
|
|
|
4 \x{100}
|
|
|
|
7 7 Ket
|
|
|
|
11 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[Z\x{100}]/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 50
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 45 Bra
|
|
|
|
4 [Z\x{100}]
|
|
|
|
45 45 Ket
|
|
|
|
49 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/^[\x{100}\E-\Q\E\x{150}]/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 21
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 16 Bra
|
|
|
|
4 ^
|
|
|
|
5 [\x{100}-\x{150}]
|
|
|
|
16 16 Ket
|
|
|
|
20 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/^[\QĀ\E-\QŐ\E]/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 21
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 16 Bra
|
|
|
|
4 ^
|
|
|
|
5 [\x{100}-\x{150}]
|
|
|
|
16 16 Ket
|
|
|
|
20 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/^[\QĀ\E-\QŐ\E/utf
|
|
|
|
Failed: error 106 at offset 15: missing terminating ] for character class
|
|
|
|
|
|
|
|
/[\p{L}]/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 18
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 13 Bra
|
|
|
|
4 [\p{L}]
|
|
|
|
13 13 Ket
|
|
|
|
17 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[\p{^L}]/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 18
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 13 Bra
|
|
|
|
4 [\P{L}]
|
|
|
|
13 13 Ket
|
|
|
|
17 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[\P{L}]/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 18
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 13 Bra
|
|
|
|
4 [\P{L}]
|
|
|
|
13 13 Ket
|
|
|
|
17 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[\P{^L}]/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 18
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 13 Bra
|
|
|
|
4 [\p{L}]
|
|
|
|
13 13 Ket
|
|
|
|
17 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[abc\p{L}\x{0660}]/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 53
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 48 Bra
|
|
|
|
4 [a-c\p{L}\x{660}]
|
|
|
|
48 48 Ket
|
|
|
|
52 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[\p{Nd}]/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 18
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 13 Bra
|
|
|
|
4 [\p{Nd}]
|
|
|
|
13 13 Ket
|
|
|
|
17 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[\p{Nd}+-]+/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 51
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 46 Bra
|
|
|
|
4 [+\-\p{Nd}]++
|
|
|
|
46 46 Ket
|
|
|
|
50 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/i,utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 27
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 22 Bra
|
|
|
|
4 /i A\x{391}\x{10427}\x{ff3a}\x{1fb0}
|
|
|
|
22 22 Ket
|
|
|
|
26 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 27
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 22 Bra
|
|
|
|
4 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
|
|
|
|
22 22 Ket
|
|
|
|
26 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[\x{105}-\x{109}]/i,utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 20
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 15 Bra
|
|
|
|
4 [\x{104}-\x{109}]
|
|
|
|
15 15 Ket
|
|
|
|
19 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/( ( (?(1)0|) )* )/x
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 47
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 42 Bra
|
|
|
|
4 34 CBra 1
|
|
|
|
10 Brazero
|
|
|
|
11 23 SCBra 2
|
|
|
|
17 9 Cond
|
|
|
|
21 1 Cond ref
|
|
|
|
24 0
|
|
|
|
26 4 Alt
|
|
|
|
30 13 Ket
|
|
|
|
34 23 KetRmax
|
|
|
|
38 34 Ket
|
|
|
|
42 42 Ket
|
|
|
|
46 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/( (?(1)0|)* )/x
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 37
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 32 Bra
|
|
|
|
4 24 CBra 1
|
|
|
|
10 Brazero
|
|
|
|
11 9 SCond
|
|
|
|
15 1 Cond ref
|
|
|
|
18 0
|
|
|
|
20 4 Alt
|
|
|
|
24 13 KetRmax
|
|
|
|
28 24 Ket
|
|
|
|
32 32 Ket
|
|
|
|
36 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[a]/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 11
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 6 Bra
|
|
|
|
4 a
|
|
|
|
6 6 Ket
|
|
|
|
10 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[a]/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 11
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 6 Bra
|
|
|
|
4 a
|
|
|
|
6 6 Ket
|
|
|
|
10 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[\xaa]/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 11
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 6 Bra
|
|
|
|
4 \x{aa}
|
|
|
|
6 6 Ket
|
|
|
|
10 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[\xaa]/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 12
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 7 Bra
|
|
|
|
4 \x{aa}
|
|
|
|
7 7 Ket
|
|
|
|
11 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[^a]/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 11
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 6 Bra
|
|
|
|
4 [^a]
|
|
|
|
6 6 Ket
|
|
|
|
10 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[^a]/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 11
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 6 Bra
|
|
|
|
4 [^a]
|
|
|
|
6 6 Ket
|
|
|
|
10 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[^\xaa]/
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 11
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 6 Bra
|
|
|
|
4 [^\x{aa}]
|
|
|
|
6 6 Ket
|
|
|
|
10 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[^\xaa]/utf
|
2015-11-14 14:22:34 +01:00
|
|
|
Memory allocation (code space): 12
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 7 Bra
|
|
|
|
4 [^\x{aa}]
|
|
|
|
7 7 Ket
|
|
|
|
11 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
#pattern -memory
|
|
|
|
|
|
|
|
/[^\d]/utf,ucp
|
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 13 Bra
|
|
|
|
4 [^\p{Nd}]
|
|
|
|
13 13 Ket
|
|
|
|
17 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[[:^alpha:][:^cntrl:]]+/utf,ucp
|
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 17 Bra
|
|
|
|
4 [\P{L}\P{Cc}]++
|
|
|
|
17 17 Ket
|
|
|
|
21 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[[:^cntrl:][:^alpha:]]+/utf,ucp
|
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 17 Bra
|
|
|
|
4 [\P{Cc}\P{L}]++
|
|
|
|
17 17 Ket
|
|
|
|
21 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[[:alpha:]]+/utf,ucp
|
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 14 Bra
|
|
|
|
4 [\p{L}]++
|
|
|
|
14 14 Ket
|
|
|
|
18 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/[[:^alpha:]\S]+/utf,ucp
|
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 17 Bra
|
|
|
|
4 [\P{L}\P{Xsp}]++
|
|
|
|
17 17 Ket
|
|
|
|
21 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/abc(d|e)(*THEN)x(123(*THEN)4|567(b|q)(*THEN)xx)/
|
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 83 Bra
|
|
|
|
4 abc
|
|
|
|
10 8 CBra 1
|
|
|
|
16 d
|
|
|
|
18 6 Alt
|
|
|
|
22 e
|
|
|
|
24 14 Ket
|
|
|
|
28 *THEN
|
|
|
|
29 x
|
|
|
|
31 15 CBra 2
|
|
|
|
37 123
|
|
|
|
43 *THEN
|
|
|
|
44 4
|
|
|
|
46 33 Alt
|
|
|
|
50 567
|
|
|
|
56 8 CBra 3
|
|
|
|
62 b
|
|
|
|
64 6 Alt
|
|
|
|
68 q
|
|
|
|
70 14 Ket
|
|
|
|
74 *THEN
|
|
|
|
75 xx
|
|
|
|
79 48 Ket
|
|
|
|
83 83 Ket
|
|
|
|
87 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/(((a\2)|(a*)\g<-1>))*a?/
|
|
|
|
------------------------------------------------------------------
|
2019-12-29 12:56:45 +01:00
|
|
|
0 62 Bra
|
2015-11-14 14:22:34 +01:00
|
|
|
4 Brazero
|
2019-12-29 12:56:45 +01:00
|
|
|
5 51 SCBra 1
|
|
|
|
11 21 CBra 2
|
|
|
|
17 11 CBra 3
|
|
|
|
23 a
|
|
|
|
25 \2
|
|
|
|
28 11 Ket
|
|
|
|
32 20 Alt
|
|
|
|
36 8 CBra 4
|
|
|
|
42 a*
|
|
|
|
44 8 Ket
|
|
|
|
48 36 Recurse
|
|
|
|
52 41 Ket
|
|
|
|
56 51 KetRmax
|
|
|
|
60 a?+
|
|
|
|
62 62 Ket
|
|
|
|
66 End
|
2014-08-05 18:51:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
2015-03-01 19:34:05 +01:00
|
|
|
/((?+1)(\1))/
|
|
|
|
------------------------------------------------------------------
|
2019-12-29 12:56:45 +01:00
|
|
|
0 31 Bra
|
|
|
|
4 23 CBra 1
|
|
|
|
10 14 Recurse
|
|
|
|
14 9 CBra 2
|
|
|
|
20 \1
|
|
|
|
23 9 Ket
|
|
|
|
27 23 Ket
|
|
|
|
31 31 Ket
|
|
|
|
35 End
|
2015-03-01 19:34:05 +01:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
2015-03-29 13:15:32 +02:00
|
|
|
"(?1)(?#?'){2}(a)"
|
|
|
|
------------------------------------------------------------------
|
2017-03-09 17:23:28 +01:00
|
|
|
0 24 Bra
|
|
|
|
4 12 Recurse
|
|
|
|
8 12 Recurse
|
|
|
|
12 8 CBra 1
|
|
|
|
18 a
|
|
|
|
20 8 Ket
|
|
|
|
24 24 Ket
|
|
|
|
28 End
|
2015-03-29 13:15:32 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
2015-05-03 18:46:56 +02:00
|
|
|
/.((?2)(?R)|\1|$)()/
|
|
|
|
------------------------------------------------------------------
|
2019-12-29 12:56:45 +01:00
|
|
|
0 45 Bra
|
2015-11-14 14:22:34 +01:00
|
|
|
4 Any
|
2019-12-29 12:56:45 +01:00
|
|
|
5 14 CBra 1
|
|
|
|
11 35 Recurse
|
|
|
|
15 0 Recurse
|
|
|
|
19 7 Alt
|
|
|
|
23 \1
|
|
|
|
26 5 Alt
|
|
|
|
30 $
|
|
|
|
31 26 Ket
|
|
|
|
35 6 CBra 2
|
|
|
|
41 6 Ket
|
|
|
|
45 45 Ket
|
|
|
|
49 End
|
2015-05-03 18:46:56 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
/.((?3)(?R)()(?2)|\1|$)()/
|
|
|
|
------------------------------------------------------------------
|
2019-12-29 12:56:45 +01:00
|
|
|
0 59 Bra
|
2015-11-14 14:22:34 +01:00
|
|
|
4 Any
|
2019-12-29 12:56:45 +01:00
|
|
|
5 28 CBra 1
|
|
|
|
11 49 Recurse
|
|
|
|
15 0 Recurse
|
|
|
|
19 6 CBra 2
|
|
|
|
25 6 Ket
|
|
|
|
29 19 Recurse
|
|
|
|
33 7 Alt
|
|
|
|
37 \1
|
|
|
|
40 5 Alt
|
|
|
|
44 $
|
|
|
|
45 40 Ket
|
|
|
|
49 6 CBra 3
|
|
|
|
55 6 Ket
|
|
|
|
59 59 Ket
|
|
|
|
63 End
|
2015-05-03 18:46:56 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
2015-05-06 18:51:25 +02:00
|
|
|
/(?1)()((((((\1++))\x85)+)|))/
|
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 96 Bra
|
|
|
|
4 8 Recurse
|
|
|
|
8 6 CBra 1
|
|
|
|
14 6 Ket
|
|
|
|
18 74 CBra 2
|
|
|
|
24 60 CBra 3
|
|
|
|
30 50 CBra 4
|
|
|
|
36 40 CBra 5
|
|
|
|
42 28 CBra 6
|
|
|
|
48 18 CBra 7
|
|
|
|
54 8 Once
|
|
|
|
58 \1+
|
|
|
|
62 8 Ket
|
|
|
|
66 18 Ket
|
|
|
|
70 28 Ket
|
|
|
|
74 \x{85}
|
|
|
|
76 40 KetRmax
|
|
|
|
80 50 Ket
|
|
|
|
84 4 Alt
|
|
|
|
88 64 Ket
|
|
|
|
92 74 Ket
|
|
|
|
96 96 Ket
|
|
|
|
100 End
|
2015-05-06 18:51:25 +02:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
2015-06-03 19:18:06 +02:00
|
|
|
# Check the absolute limit on nesting (?| etc. This varies with code unit
|
|
|
|
# width because the workspace is a different number of bytes. It will fail
|
2015-11-14 14:22:34 +01:00
|
|
|
# with link size 2 in 8-bit and 16-bit but not in 32-bit.
|
|
|
|
|
2015-06-03 19:18:06 +02:00
|
|
|
/(?|(?|(?J:(?|(?x:(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|
|
|
|
|
)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
|
|
|
|
/parens_nest_limit=1000,-fullbincode
|
|
|
|
|
2015-11-08 15:41:34 +01:00
|
|
|
# Use "expand" to create some very long patterns with nested parentheses, in
|
|
|
|
# order to test workspace overflow. Again, this varies with code unit width,
|
2016-10-02 18:01:01 +02:00
|
|
|
# and even when it fails in two modes, the error offset differs. It also varies
|
2015-11-14 14:22:34 +01:00
|
|
|
# with link size - hence multiple tests with different values.
|
2015-11-08 15:41:34 +01:00
|
|
|
|
2016-10-02 18:01:01 +02:00
|
|
|
/(?'ABC'\[[bar](]{792}*THEN:\[A]{255}\[)]{793}/expand,-fullbincode,parens_nest_limit=1000
|
2015-11-08 15:41:34 +01:00
|
|
|
|
2016-10-02 18:01:01 +02:00
|
|
|
/(?'ABC'\[[bar](]{793}*THEN:\[A]{255}\[)]{794}/expand,-fullbincode,parens_nest_limit=1000
|
2015-11-14 14:22:34 +01:00
|
|
|
|
2016-10-02 18:01:01 +02:00
|
|
|
/(?'ABC'\[[bar](]{1793}*THEN:\[A]{255}\[)]{1794}/expand,-fullbincode,parens_nest_limit=2000
|
|
|
|
Failed: error 186 at offset 12820: regular expression is too complicated
|
2015-11-08 15:41:34 +01:00
|
|
|
|
2015-08-09 18:29:35 +02:00
|
|
|
/(?(1)(?1)){8,}+()/debug
|
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 150 Bra
|
|
|
|
4 132 Once
|
|
|
|
8 11 Cond
|
|
|
|
12 1 Cond ref
|
|
|
|
15 140 Recurse
|
|
|
|
19 11 Ket
|
|
|
|
23 11 Cond
|
|
|
|
27 1 Cond ref
|
|
|
|
30 140 Recurse
|
|
|
|
34 11 Ket
|
|
|
|
38 11 Cond
|
|
|
|
42 1 Cond ref
|
|
|
|
45 140 Recurse
|
|
|
|
49 11 Ket
|
|
|
|
53 11 Cond
|
2015-08-09 18:29:35 +02:00
|
|
|
57 1 Cond ref
|
2015-11-14 14:22:34 +01:00
|
|
|
60 140 Recurse
|
|
|
|
64 11 Ket
|
|
|
|
68 11 Cond
|
|
|
|
72 1 Cond ref
|
|
|
|
75 140 Recurse
|
|
|
|
79 11 Ket
|
|
|
|
83 11 Cond
|
|
|
|
87 1 Cond ref
|
|
|
|
90 140 Recurse
|
|
|
|
94 11 Ket
|
|
|
|
98 11 Cond
|
|
|
|
102 1 Cond ref
|
|
|
|
105 140 Recurse
|
|
|
|
109 11 Ket
|
|
|
|
113 19 SBraPos
|
|
|
|
117 11 SCond
|
|
|
|
121 1 Cond ref
|
|
|
|
124 140 Recurse
|
|
|
|
128 11 Ket
|
|
|
|
132 19 KetRpos
|
|
|
|
136 132 Ket
|
|
|
|
140 6 CBra 1
|
|
|
|
146 6 Ket
|
|
|
|
150 150 Ket
|
|
|
|
154 End
|
2015-08-09 18:29:35 +02:00
|
|
|
------------------------------------------------------------------
|
2019-02-06 19:11:36 +01:00
|
|
|
Capture group count = 1
|
2015-08-09 18:29:35 +02:00
|
|
|
Max back reference = 1
|
|
|
|
May match empty string
|
|
|
|
Subject length lower bound = 0
|
|
|
|
abcd
|
|
|
|
0:
|
|
|
|
1:
|
|
|
|
|
|
|
|
/(?(1)|a(?1)b){2,}+()/debug
|
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 76 Bra
|
|
|
|
4 58 Once
|
|
|
|
8 7 Cond
|
|
|
|
12 1 Cond ref
|
|
|
|
15 12 Alt
|
|
|
|
19 a
|
|
|
|
21 66 Recurse
|
|
|
|
25 b
|
|
|
|
27 19 Ket
|
|
|
|
31 27 SBraPos
|
|
|
|
35 7 SCond
|
|
|
|
39 1 Cond ref
|
|
|
|
42 12 Alt
|
|
|
|
46 a
|
|
|
|
48 66 Recurse
|
|
|
|
52 b
|
|
|
|
54 19 Ket
|
|
|
|
58 27 KetRpos
|
|
|
|
62 58 Ket
|
|
|
|
66 6 CBra 1
|
|
|
|
72 6 Ket
|
|
|
|
76 76 Ket
|
|
|
|
80 End
|
2015-08-09 18:29:35 +02:00
|
|
|
------------------------------------------------------------------
|
2019-02-06 19:11:36 +01:00
|
|
|
Capture group count = 1
|
2015-08-09 18:29:35 +02:00
|
|
|
Max back reference = 1
|
|
|
|
May match empty string
|
|
|
|
Subject length lower bound = 0
|
|
|
|
abcde
|
|
|
|
No match
|
|
|
|
|
|
|
|
/((?1)(?2)(?3)(?4)(?5)(?6)(?7)(?8)(?9)(?9)(?8)(?7)(?6)(?5)(?4)(?3)(?2)(?1)(?0)){2,}()()()()()()()()()/debug
|
|
|
|
------------------------------------------------------------------
|
2015-11-14 14:22:34 +01:00
|
|
|
0 266 Bra
|
|
|
|
4 82 CBra 1
|
|
|
|
10 4 Recurse
|
|
|
|
14 176 Recurse
|
|
|
|
18 186 Recurse
|
|
|
|
22 196 Recurse
|
|
|
|
26 206 Recurse
|
|
|
|
30 216 Recurse
|
|
|
|
34 226 Recurse
|
|
|
|
38 236 Recurse
|
|
|
|
42 246 Recurse
|
|
|
|
46 246 Recurse
|
|
|
|
50 236 Recurse
|
|
|
|
54 226 Recurse
|
|
|
|
58 216 Recurse
|
|
|
|
62 206 Recurse
|
|
|
|
66 196 Recurse
|
|
|
|
70 186 Recurse
|
|
|
|
74 176 Recurse
|
|
|
|
78 4 Recurse
|
|
|
|
82 0 Recurse
|
|
|
|
86 82 Ket
|
|
|
|
90 82 SCBra 1
|
|
|
|
96 4 Recurse
|
|
|
|
100 176 Recurse
|
|
|
|
104 186 Recurse
|
|
|
|
108 196 Recurse
|
|
|
|
112 206 Recurse
|
|
|
|
116 216 Recurse
|
|
|
|
120 226 Recurse
|
|
|
|
124 236 Recurse
|
|
|
|
128 246 Recurse
|
|
|
|
132 246 Recurse
|
|
|
|
136 236 Recurse
|
|
|
|
140 226 Recurse
|
|
|
|
144 216 Recurse
|
|
|
|
148 206 Recurse
|
|
|
|
152 196 Recurse
|
|
|
|
156 186 Recurse
|
|
|
|
160 176 Recurse
|
|
|
|
164 4 Recurse
|
|
|
|
168 0 Recurse
|
|
|
|
172 82 KetRmax
|
|
|
|
176 6 CBra 2
|
|
|
|
182 6 Ket
|
|
|
|
186 6 CBra 3
|
|
|
|
192 6 Ket
|
|
|
|
196 6 CBra 4
|
|
|
|
202 6 Ket
|
|
|
|
206 6 CBra 5
|
|
|
|
212 6 Ket
|
|
|
|
216 6 CBra 6
|
|
|
|
222 6 Ket
|
|
|
|
226 6 CBra 7
|
|
|
|
232 6 Ket
|
|
|
|
236 6 CBra 8
|
|
|
|
242 6 Ket
|
|
|
|
246 6 CBra 9
|
|
|
|
252 6 Ket
|
|
|
|
256 6 CBra 10
|
|
|
|
262 6 Ket
|
|
|
|
266 266 Ket
|
|
|
|
270 End
|
2015-08-09 18:29:35 +02:00
|
|
|
------------------------------------------------------------------
|
2019-02-06 19:11:36 +01:00
|
|
|
Capture group count = 10
|
2015-08-09 18:29:35 +02:00
|
|
|
May match empty string
|
|
|
|
Subject length lower bound = 0
|
|
|
|
|
2016-02-10 19:24:02 +01:00
|
|
|
/([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00](*ACCEPT)/
|
|
|
|
Failed: error 114 at offset 509: missing closing parenthesis
|
|
|
|
|
2016-02-13 16:30:29 +01:00
|
|
|
/([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00](*ACCEPT)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))/-fullbincode
|
|
|
|
|
2019-05-24 19:15:48 +02:00
|
|
|
#pattern -fullbincode
|
|
|
|
|
|
|
|
/\[()]{65535}/expand
|
|
|
|
|
2014-08-05 18:51:32 +02:00
|
|
|
# End of testinput8
|