


'''simple docstring'''



import re


def  lowerCamelCase__ (			A  :     str	):




						'''simple docstring'''






						UpperCAmelCase								=      re.compile(
						    R'''^(?:0|94|\+94|0{2}94)''' R'''7(0|1|2|4|5|6|7|8)''' R'''(-| |)''' R'''\d{7}$'''	)

						return bool(re.search(A ,  A	)	)


if __name__ == "__main__":
	_lowercase     :     Any        =	'0094702343221'

	print(is_sri_lankan_phone_number(phone))








'''simple docstring'''




import warnings

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


_a					:			List[Any]							=    logging.get_logger(__name__)



class 							lowercase_						(		a			):

  '''simple docstring'''





  def __init__(  self ,			*a_ ,			**a_  )				->					None:


    """simple docstring"""
    warnings.warn(
        'The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
        ' use DonutImageProcessor instead.' ,			a_ ,			)
    super().__init__(*a_ ,			**a_  )


