diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-03-01 18:34:39 -0500 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-03-01 18:34:39 -0500 |
commit | de5213605d04ded441783ad77e87e91539ceee68 (patch) | |
tree | cf340688db1d8df5c0a9602fc872a3af721196bd /cmd2/constants.py | |
parent | de701086ff832bad0f0d97ffb10c2159d56ede7d (diff) | |
download | cmd2-git-de5213605d04ded441783ad77e87e91539ceee68.tar.gz |
Removed support for c-style and embedded comments
Diffstat (limited to 'cmd2/constants.py')
-rw-r--r-- | cmd2/constants.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/constants.py b/cmd2/constants.py index 3c133b70..3e35a542 100644 --- a/cmd2/constants.py +++ b/cmd2/constants.py @@ -12,6 +12,7 @@ REDIRECTION_OUTPUT = '>' REDIRECTION_APPEND = '>>' REDIRECTION_CHARS = [REDIRECTION_PIPE, REDIRECTION_OUTPUT] REDIRECTION_TOKENS = [REDIRECTION_PIPE, REDIRECTION_OUTPUT, REDIRECTION_APPEND] +COMMENT_CHAR = '#' # Regular expression to match ANSI escape codes ANSI_ESCAPE_RE = re.compile(r'\x1b[^m]*m') |