aboutsummaryrefslogtreecommitdiffstats
path: root/shell.py
diff options
context:
space:
mode:
authorhploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b>2006-11-08 06:39:54 +0000
committerhploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b>2006-11-08 06:39:54 +0000
commit1b26df986b48a3147f02892f37486cc806e27905 (patch)
tree5c65c8af10b816fb8ea02bba1b1b59d5cd60c69c /shell.py
parentdb5f07df0436b5a5c389374b1fa66a2407eabab7 (diff)
some crypto functions
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@122 f711b948-2313-0410-aaa9-d29f33439f0b
Diffstat (limited to 'shell.py')
-rw-r--r--shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell.py b/shell.py
index 121d789..bd8775f 100644
--- a/shell.py
+++ b/shell.py
@@ -103,7 +103,7 @@ class Shell:
traceback.print_tb(sys.exc_info()[2])
_commandregex = re.compile(r'\s*(\w+)(\s+.*)?')
- _argumentregex = re.compile(r"""\s*(?:"((?:[^"]|\"|\\)*)"|'([^']*)'|(\S+))(\s+\S.*)?""")
+ _argumentregex = re.compile(r"""\s*(?:"((?:[^"]|\\"|\\\\)*)"|'([^']*)'|(\S+))(\s+\S.*)?""")
def parse_and_execute(self, line):
"""Parses a command line and executes the associated function."""
match = self._commandregex.match(line)