Skip to content

Commit

Permalink
relax profile regex in notebook
Browse files Browse the repository at this point in the history
Almost any text is a valid profile name, and the previous code
only included ascii alphanumeric strings.

closes #2011
  • Loading branch information
minrk committed Jun 23, 2012
1 parent 086258d commit 4c8a662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/frontend/html/notebook/notebookapp.py
Expand Up @@ -75,7 +75,7 @@
_kernel_id_regex = r"(?P<kernel_id>\w+-\w+-\w+-\w+-\w+)"
_kernel_action_regex = r"(?P<action>restart|interrupt)"
_notebook_id_regex = r"(?P<notebook_id>\w+-\w+-\w+-\w+-\w+)"
_profile_regex = r"(?P<profile>[a-zA-Z0-9]+)"
_profile_regex = r"(?P<profile>[^\/]+)" # there is almost no text that is invalid
_cluster_action_regex = r"(?P<action>start|stop)"


Expand Down

0 comments on commit 4c8a662

Please sign in to comment.