# -*- coding: utf-8 -*-
from re import compile, DOTALL


PATTERN = compile(
    (r'\A####\n'
     r'(?P<type>.*?)\n'
     r'####\n'
     r'(?P<params>.*?)\n'
     r'####\n'
     r'(?P<tf_1>.*?)\n'
     r'####\n'
     r'(?P<clients>.*?)\n'
     r'####\n'
     r'(?P<tf_2>.*?)\n'
     r'####\n'
     r'(?P<categories>.*?)\n'
     r'####\n'
     r'(?P<tf_3>.*?)\n'
     r'####\n'
     r'(?P<regions>.*?)\n'
     r'####.*\Z'),
    flags=DOTALL)

TASK_TYPES = {
 'standard': u'Без категоризации',
 'rules': u'Маппинг кампаний',
 'yt_registry': u'Реестр на YT'
}

DATA_URL = 'https://forms.yandex-team.ru/surveys/4709/'
PPTX_URL = 'https://april.yandex-team.ru/cpa/task/create/make_cpa_report_pptx'
