blob: 6784264fde14e2ba43162a625a313b1089e352c6 (
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')
|