summaryrefslogtreecommitdiff
path: root/test/gsubtst3.ok
blob: 190a20ac4337685e9d6adf5406bce0a65decacc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
regex               input     expected  actual    bug?      

-------------------------------------------------------------
(^)                 12345     x12345    x12345              
($)                 12345     12345x    12345x              
(^)|($)             12345     x12345x   x12345x             
($)|(^)             12345     x12345x   x12345x             
2                   12345     1x345     1x345               
(^)|2               12345     x1x345    x1x345              
2|(^)               12345     x1x345    x1x345              
($)|2               12345     1x345x    1x345x              
2|($)               12345     1x345x    1x345x              
(2)|(^)             12345     x1x345    x1x345              
(^)|(2)             12345     x1x345    x1x345              
(2)|($)             12345     1x345x    1x345x              
($)|(2)             12345     1x345x    1x345x              
((2)|(^)).          12345     xx45      xx45                
((^)|(2)).          12345     xx45      xx45                
.((2)|($))          12345     x34x      x34x                
.(($)|(2))          12345     x34x      x34x                
(^)|6               12345     x12345    x12345              
6|(^)               12345     x12345    x12345              
($)|6               12345     12345x    12345x              
6|($)               12345     12345x    12345x              
2|6|(^)             12345     x1x345    x1x345              
2|(^)|6             12345     x1x345    x1x345              
6|2|(^)             12345     x1x345    x1x345              
6|(^)|2             12345     x1x345    x1x345              
(^)|6|2             12345     x1x345    x1x345              
(^)|2|6             12345     x1x345    x1x345              
2|6|($)             12345     1x345x    1x345x              
2|($)|6             12345     1x345x    1x345x              
6|2|($)             12345     1x345x    1x345x              
6|($)|2             12345     1x345x    1x345x              
($)|6|2             12345     1x345x    1x345x              
($)|2|6             12345     1x345x    1x345x              
2|4|(^)             12345     x1x3x5    x1x3x5              
2|(^)|4             12345     x1x3x5    x1x3x5              
4|2|(^)             12345     x1x3x5    x1x3x5              
4|(^)|2             12345     x1x3x5    x1x3x5              
(^)|4|2             12345     x1x3x5    x1x3x5              
(^)|2|4             12345     x1x3x5    x1x3x5              
2|4|($)             12345     1x3x5x    1x3x5x              
2|($)|4             12345     1x3x5x    1x3x5x              
4|2|($)             12345     1x3x5x    1x3x5x              
4|($)|2             12345     1x3x5x    1x3x5x              
($)|4|2             12345     1x3x5x    1x3x5x              
($)|2|4             12345     1x3x5x    1x3x5x              
x{0}((2)|(^))       12345     x1x345    x1x345              
x{0}((^)|(2))       12345     x1x345    x1x345              
x{0}((2)|($))       12345     1x345x    1x345x              
x{0}(($)|(2))       12345     1x345x    1x345x              
x*((2)|(^))         12345     x1x345    x1x345              
x*((^)|(2))         12345     x1x345    x1x345              
x*((2)|($))         12345     1x345x    1x345x              
x*(($)|(2))         12345     1x345x    1x345x              
x{0}^               12345     x12345    x12345              
x{0}$               12345     12345x    12345x              
(x{0}^)|2           12345     x1x345    x1x345              
(x{0}$)|2           12345     1x345x    1x345x