File tree 4 files changed +13
-0
lines changed
4 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 10
10
"oneline" : {
11
11
"type" : " string" ,
12
12
"value" : " This string has a ' quote character."
13
+ },
14
+ "multiline_with_tab" : {
15
+ "type" : " string" ,
16
+ "value" : " First line\n\t Followed by a tab"
13
17
}
14
18
}
Original file line number Diff line number Diff line change @@ -12,3 +12,7 @@ has ' a quote character
12
12
and more than
13
13
one newline
14
14
in it.'''
15
+
16
+ # Tab character in literal string does not need to be escaped
17
+ multiline_with_tab = ''' First line
18
+ Followed by a tab'''
Original file line number Diff line number Diff line change 26
26
"tab" : {
27
27
"type" : " string" ,
28
28
"value" : " This string has a \\ t tab character."
29
+ },
30
+ "unescaped_tab" : {
31
+ "type" : " string" ,
32
+ "value" : " This string has an \t unescaped tab character."
29
33
}
30
34
}
Original file line number Diff line number Diff line change 1
1
backspace = ' This string has a \b backspace character.'
2
2
tab = ' This string has a \t tab character.'
3
+ unescaped_tab = ' This string has an unescaped tab character.'
3
4
newline = ' This string has a \n new line character.'
4
5
formfeed = ' This string has a \f form feed character.'
5
6
carriage = ' This string has a \r carriage return character.'
You can’t perform that action at this time.
0 commit comments