We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45d56f3 commit 0c11578Copy full SHA for 0c11578
src/execute_request.jl
@@ -64,7 +64,7 @@ function execute_request(socket, msg)
64
Core.eval(Main, helpmode(hcode))
65
else
66
#run the code!
67
- occursin(magics_regex, code) ? magics_help(code) :
+ occursin(magics_regex, code) && match(magics_regex, code).offset == 1 ? magics_help(code) :
68
SOFTSCOPE[] ? softscope_include_string(current_module[], code, "In[$n]") :
69
include_string(current_module[], code, "In[$n]")
70
end
0 commit comments