File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
client/datascience/jupyter Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ Fix empty variables to show an empty string in the Notebook/Interactive Window variable explorer.
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import { JupyterDataRateLimitError } from './jupyterDataRateLimitError';
32
32
// kernels will add the ansi encoding.
33
33
const TypeRegex = / .* ?\[ .* ?; 3 1 m T y p e : .* ?\[ 0 m \s + ( \w + ) / ;
34
34
const ValueRegex = / .* ?\[ .* ?; 3 1 m V a l u e : .* ?\[ 0 m \s + ( .* ) / ;
35
- const StringFormRegex = / .* ?\[ .* ?; 3 1 m S t r i n g f o r m : .* ?\[ 0 m \s + ( [ \s \S ] + ?) \n . * ? \[ .* ? / ;
35
+ const StringFormRegex = / .* ?\[ .* ?; 3 1 m S t r i n g f o r m : .* ?\[ 0 m \s * ? ( [ \s \S ] + ?) \n ( . * \[ .* ; 3 1 m ? ) / ;
36
36
const DocStringRegex = / .* ?\[ .* ?; 3 1 m D o c s t r i n g : .* ?\[ 0 m \s + ( .* ) / ;
37
37
const CountRegex = / .* ?\[ .* ?; 3 1 m L e n g t h : .* ?\[ 0 m \s + ( .* ) / ;
38
38
const ShapeRegex = / ^ \s + \[ ( \d + ) r o w s x ( \d + ) c o l u m n s \] / m;
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ This is equivalent to (real + imag*1j) where imag defaults to 0.
302
302
truncated : true ,
303
303
count : 0 ,
304
304
shape : '' ,
305
- value : '(1+1j)' ,
305
+ value : ' (1+1j)' ,
306
306
supportsDataExplorer : false
307
307
} ;
308
308
You can’t perform that action at this time.
0 commit comments