



"""simple docstring"""
import re

def       _snake_case						(						UpperCamelCase						:		str						):
 UpperCAmelCase	:					Dict	=	re.compile(R"""^(\+91[\-\s]?)?[0]?(91)?[789]\d{9}$"""						)
 if match := re.search(UpperCamelCase			,		UpperCamelCase						):
  return match.string == phone
 return False


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




'''simple docstring'''




import warnings

from ...utils import logging
from .image_processing_flava import FlavaImageProcessor


__snake_case    						=logging.get_logger(__name__)

class 		UpperCAmelCase_      (  __lowercase		):





     def __init__( self       :      Dict    ,      *UpperCAmelCase__       :      Dict    ,      **UpperCAmelCase__       :      List[str]    )				->  None:
        warnings.warn(
            'The class FlavaFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
            ' use FlavaImageProcessor instead.'    ,      UpperCAmelCase__    ,      )
        super().__init__(*UpperCAmelCase__    ,      **UpperCAmelCase__    )





