Skip to content

Commit

Permalink
fix issue in escape
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Dec 1, 2017
1 parent 31f93cd commit be90eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NCDatasets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ function escape(val)
valescaped = val
# backslash must come first
for c in ['\\','$','"']
valescaped = replace(valescaped,c,'\\' * c)
valescaped = replace(valescaped,c,"\\$c")
end
return valescaped
end
Expand Down

0 comments on commit be90eda

Please sign in to comment.