# Path: uamobile/parser/base.py
# class UserAgentParser(object):
#     def parse(self, useragent):
#         raise NotImplementedError()


import re
from uamobile.parser.base import UserAgentParser
# -*- coding: utf-8 -*-


DOCOMO_STATUS_SET = ('TB', 'TC', 'TD', 'TJ')

DOCOMO_VENDOR_RE = re.compile(r'([A-Z]+)\d')

FOMA_SERIES_4DIGITS_RE = re.compile(r'\d{4}')
FOMA_SERIES_3DIGITS_RE = re.compile(r'(\d{3}i|\d{2}[ABC][23]?)')

DOCOMO_COMMENT_RE = re.compile(r'\((.+?)\)')
DOCOMO_DISPLAY_BYTES_RE = re.compile(r'^W(\d+)H(\d+)$')


# Path: uamobile/parser/base.py
# class UserAgentParser(object):
#     def parse(self, useragent):
#         raise NotImplementedError()


# Path: uamobile/parser/docomo.py
import re
from uamobile.parser.base import UserAgentParser

# -*- coding: utf-8 -*-


DOCOMO_STATUS_SET = ('TB', 'TC', 'TD', 'TJ')

DOCOMO_VENDOR_RE = re.compile(r'([A-Z]+)\d')

FOMA_SERIES_4DIGITS_RE = re.compile(r'\d{4}')
FOMA_SERIES_3DIGITS_RE = re.compile(r'(\d{3}i|\d{2}[ABC][23]?)')

DOCOMO_COMMENT_RE = re.compile(r'\((.+?)\)')
DOCOMO_DISPLAY_BYTES_RE = re.compile(r'^W(\d+)H(\d+)$')


DOCOMO_HTML_VERSION_LIST = [