regex_feature.test
1.94 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
m//
qr!foo\!bar!msix
m,foo
bar,aa
qr aa
m afoob\araaa
qr pfoo
barpxpn
m()c
qr(foo\(\)bar)u
m(foo
bar)l
qr{}d
m{foo\{\}bar}
qr{foo
bar}
m[]
qr[foo\[\]bar]
m[foo
bar]
qr<>s
m<foo\<\>bar>i
qr<foo
bar>x
s///
tr%foo\%bar%baz%c
y!foo
bar!foo
baz!d
s kkkmsix
tr afoob\arab\azas
y pfoo
barpfoo
bazpr
s()()
tr(foo\(bar)(ba\)z)
y(foo
bar)(foo
baz)csr
s{}{}
tr{foo\{bar}{ba\}z}
y{foo
bar}{foo
baz}
y[][]
s[foo\[bar][ba\]z]u
y[foo
bar][foo
baz]
tr<><>c
y<foo\<bar><ba\>a>
s<foo
bar><foo
baz>
//
/foo/gsx
/foo\/bar/n
----------------------------------------------------
[
["regex", "m//"],
["regex", "qr!foo\\!bar!msix"],
["regex", "m,foo\r\nbar,aa"],
["regex", "qr aa"],
["regex", "m afoob\\araaa"],
["regex", "qr pfoo\r\nbarpxpn"],
["regex", "m()c"],
["regex", "qr(foo\\(\\)bar)u"],
["regex", "m(foo\r\nbar)l"],
["regex", "qr{}d"],
["regex", "m{foo\\{\\}bar}"],
["regex", "qr{foo\r\nbar}"],
["regex", "m[]"],
["regex", "qr[foo\\[\\]bar]"],
["regex", "m[foo\r\nbar]"],
["regex", "qr<>s"],
["regex", "m<foo\\<\\>bar>i"],
["regex", "qr<foo\r\nbar>x"],
["regex", "s///"],
["regex", "tr%foo\\%bar%baz%c"],
["regex", "y!foo\r\nbar!foo\r\nbaz!d"],
["regex", "s kkkmsix"],
["regex", "tr afoob\\arab\\azas"],
["regex", "y pfoo\r\nbarpfoo\r\nbazpr"],
["regex", "s()()"],
["regex", "tr(foo\\(bar)(ba\\)z)"],
["regex", "y(foo\r\nbar)(foo\r\nbaz)csr"],
["regex", "s{}{}"],
["regex", "tr{foo\\{bar}{ba\\}z}"],
["regex", "y{foo\r\nbar}{foo\r\nbaz}"],
["regex", "y[][]"],
["regex", "s[foo\\[bar][ba\\]z]u"],
["regex", "y[foo\r\nbar][foo\r\nbaz]"],
["regex", "tr<><>c"],
["regex", "y<foo\\<bar><ba\\>a>"],
["regex", "s<foo\r\nbar><foo\r\nbaz>"],
["regex", "//"],
["regex", "/foo/gsx"],
["regex", "/foo\\/bar/n"]
]
----------------------------------------------------
Checks for regex and regex quote-like operators.