


'''simple docstring'''






import warnings

from ...utils import logging
from .image_processing_donut import DonutImageProcessor


__UpperCAmelCase       							=				logging.get_logger(__name__)




class 						a__							(				a__    ):





							'''simple docstring'''






							def __init__(						self   ,       *lowerCamelCase_   ,       **lowerCamelCase_  )			->				None:
														warnings.warn(
														    '''The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
														    ''' use DonutImageProcessor instead.'''   ,       lowerCamelCase_   ,       )
														super().__init__(*lowerCamelCase_   ,       **lowerCamelCase_  )



'''simple docstring'''






import re


def    _snake_case  (	A			)		->       bool:
							lowerCAmelCase__			  =      re.compile(R'''^(\+91[\-\s]?)?[0]?(91)?[789]\d{9}$'''			)
							if match := re.search(A					,       A			):
														return match.string == phone
							return False


if __name__ == "__main__":
		print(indian_phone_validator('''+918827897895'''))