blob: 838650e5bd3e1b1d8072ffa1a7b3027c13195a51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#
# coding=utf-8
"""Constants and definitions"""
import re
# Used for command parsing, tab completion and word breaks. Do not change.
QUOTES = ['"', "'"]
REDIRECTION_CHARS = ['|', '>']
# Regular expression to match ANSI escape codes
ANSI_ESCAPE_RE = re.compile(r'\x1b[^m]*m')
|