





import warnings

from ...utils import logging
from .image_processing_segformer import SegformerImageProcessor


UpperCAmelCase	:	Optional[int]		     =       logging.get_logger(__name__)







class 				__lowerCAmelCase       (    UpperCamelCase__):







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



        '''simple docstring'''




        warnings.warn(
            "The class SegformerFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
            " Please use SegformerImageProcessor instead."		,      lowerCAmelCase__		,      )
        super().__init__(*lowerCAmelCase__		,      **lowerCAmelCase__							)












'''simple docstring'''

import re


def 		__magic_name__    (	__UpperCAmelCase	)		->					bool:

					'''simple docstring'''

					snake_case_									=				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(__UpperCAmelCase,      __UpperCAmelCase	)	)


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

							print(is_sri_lankan_phone_number(phone))

