We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92be8b9 commit a4a8d01Copy full SHA for a4a8d01
1 file changed
loadjson.m
@@ -63,7 +63,7 @@
63
64
global pos inStr len esc index_esc len_esc isoct arraytoken
65
66
-if(regexp(fname,'^\s*(?:\[.+\])|(?:\{.+\})\s*$','once'))
+if(regexp(fname,'^\s*(?:\[.*\])|(?:\{.*\})\s*$','once'))
67
string=fname;
68
elseif(exist(fname,'file'))
69
try
0 commit comments