Skip to content
Snippets Groups Projects
Commit bad233f7 authored by fangq's avatar fangq
Browse files

minor updates

git-svn-id: http://svn.code.sf.net/p/iso2mesh/code/trunk/jsonlab@360 786e58fb-9377-0410-9ff7-e4ac0ac0635c
parent 4046cfb8
No related branches found
No related tags found
No related merge requests found
...@@ -50,8 +50,7 @@ end ...@@ -50,8 +50,7 @@ end
pos = 1; len = length(string); inStr = string; pos = 1; len = length(string); inStr = string;
isoct=exist('OCTAVE_VERSION'); isoct=exist('OCTAVE_VERSION');
arraytoken=find(inStr=='[' | inStr==']' | inStr=='"'); arraytoken=find(inStr=='[' | inStr==']' | inStr=='"');
jstr=inStr; jstr=regexprep(inStr,'\\\\',' ');
jstr=regexprep(jstr,'\\\\',' ');
escquote=regexp(jstr,'\\"'); escquote=regexp(jstr,'\\"');
arraytoken=sort([arraytoken escquote]); arraytoken=sort([arraytoken escquote]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment