import re
from collections import OrderedDict


CONFIG = {
    "outDir": "export",
    "rootPat": "root",
    "sym": r"[^a-zA-Z0-9_-]",
    "error": {"msg": "ERROR: {}", "timeout": 8000},
    "done": {"msg": "DONE: {}", "timeout": 5000},
    "delimiters": OrderedDict((("assign", "="), ("separator", ","))),  # yapf: disable
    "meta": {"c": [""], "e": ["png"], "m": [0], "p": [""], "s": [100]},
}
CONFIG["rootPat"] = re.compile(CONFIG["rootPat"])
CONFIG["sym"] = re.compile(CONFIG["sym"])
