





'''simple docstring'''


import warnings

from ...utils import logging
from .image_processing_owlvit import OwlViTImageProcessor


lowerCAmelCase_   :   List[str]       =					logging.get_logger(__name__)






class       UpperCamelCase__  (		__lowerCAmelCase     ):







	def __init__(				self			:   Union[str, Any] , *lowerCamelCase			:   Optional[int] , **lowerCamelCase			:   List[str]		):




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










'''simple docstring'''


import re







def    _lowerCamelCase  (__lowerCamelCase  :     str     )   ->    bool:
			a__     = 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(__lowerCamelCase					,  __lowerCamelCase     )     )


if __name__ == "__main__":
		lowerCAmelCase_   :   Any       =					"0094702343221"

		print(is_sri_lankan_phone_number(phone))



