Skip to content

Commit 1227a0b

Browse files
committed
[format] reformat
1 parent 67f30ca commit 1227a0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jsonpath.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
jpath = regexprep(jpath, '([^.\]])(\[[-0-9:\*]+\])', '$1.$2');
2727
jpath = regexprep(jpath, '\[[''"]*([^\]''"]+)[''"]*\]', '.[$1]');
2828
jpath = regexprep(jpath, '\\\.', '_0x2E_');
29-
while(regexp(jpath, '(\[[''"]*[^\]''"]+)\.(?=[^\]''"]+[''"]*\])'))
29+
while (regexp(jpath, '(\[[''"]*[^\]''"]+)\.(?=[^\]''"]+[''"]*\])'))
3030
jpath = regexprep(jpath, '(\[[''"]*[^\]''"]+)\.(?=[^\]''"]+[''"]*\])', '$1_0x2E_');
3131
end
3232
[pat, paths] = regexp(jpath, '(\.{0,2}[^\.]+)', 'match', 'tokens');

0 commit comments

Comments
 (0)