string_feature.test
1.88 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
130
q//
q/foobar/
q/foo\/bar/
q/foo
bar/
qq!!
qq!foobar!
qq!foo\!bar!
qq!foo
bar!
qw__
qx_foobar_
qx_foo\_bar_
qw_foo
bar_
qw??
qw?foobar?
qw?foo\?bar?
qw?foo
bar?
q aa
q afoob\ara
q 4foobar4
q pfoo
barp
qq()
qq(foobar)
qq(foo\(\)bar)
qq(foo
bar)
qx{}
qx{foobar}
qx{foo\{\}bar}
qx{foo
bar}
qw[]
qw[foobar]
qw[foo\[\]bar]
qw[foo
bar]
q<>
q<foobar>
q<foo\<\>bar>
q<foo
bar>
""
"foo\"bar"
"foo
bar"
''
'foo\'bar'
``
`foo\`bar`
`foo
bar`
----------------------------------------------------
[
["string", "q//"],
["string", "q/foobar/"],
["string", "q/foo\\/bar/"],
["string", "q/foo\r\nbar/"],
["string", "qq!!"],
["string", "qq!foobar!"],
["string", "qq!foo\\!bar!"],
["string", "qq!foo\r\nbar!"],
["string", "qw__"],
["string", "qx_foobar_"],
["string", "qx_foo\\_bar_"],
["string", "qw_foo\r\nbar_"],
["string", "qw??"],
["string", "qw?foobar?"],
["string", "qw?foo\\?bar?"],
["string", "qw?foo\r\nbar?"],
["string", "q aa"],
["string", "q afoob\\ara"],
["string", "q 4foobar4"],
["string", "q pfoo\r\nbarp"],
["string", "qq()"],
["string", "qq(foobar)"],
["string", "qq(foo\\(\\)bar)"],
["string", "qq(foo\r\nbar)"],
["string", "qx{}"],
["string", "qx{foobar}"],
["string", "qx{foo\\{\\}bar}"],
["string", "qx{foo\r\nbar}"],
["string", "qw[]"],
["string", "qw[foobar]"],
["string", "qw[foo\\[\\]bar]"],
["string", "qw[foo\r\nbar]"],
["string", "q<>"],
["string", "q<foobar>"],
["string", "q<foo\\<\\>bar>"],
["string", "q<foo\r\nbar>"],
["string", "\"\""],
["string", "\"foo\\\"bar\""],
["string", "\"foo\r\nbar\""],
["string", "''"],
["string", "'foo\\'bar'"],
["string", "``"],
["string", "`foo\\`bar`"],
["string", "`foo\r\nbar`"]
]
----------------------------------------------------
Checks for strings and quote operators.