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 64b055c commit 1a8affbCopy full SHA for 1a8affb
src/jupyter_matlab_kernel/magic_execution_engine.py
@@ -1,4 +1,4 @@
1
-# Copyright 2024 The MathWorks, Inc.
+# Copyright 2024-2025 The MathWorks, Inc.
2
3
import importlib
4
import re
@@ -144,7 +144,7 @@ def get_magics_from_cell(cell_code):
144
magic_dict = magic_matches.groupdict()
145
params = magic_dict["params"].strip()
146
if params:
147
- magic_dict["params"] = re.split("\s+", params)
+ magic_dict["params"] = re.split(r"\s+", params)
148
# transform ? parameter into a help magic, such that %%file? becomes %%help file
149
if params.startswith("?"):
150
# Ignore additional parameters after the ? parameter
0 commit comments