
    0yi                     x    d Z ddlmZ ddlmZmZ ddlmZ ddlm	Z
  G d de      Z ej                  d	e       y
)zc
.. version-deprecated: 1.0.0
	This module is superseded by :module:`pathspec.patterns.gitignore`.
    )util)
deprecatedoverride   )GitIgnoreSpecPattern)GitIgnorePatternErrorc                   n     e Zd ZdZ ed      d fd       Zee ed       fd                     Z xZ	S )GitWildMatchPatternz
	.. version-deprecated:: 1.0.0
		This class is superseded by :class:`GitIgnoreSpecPattern` and
		:class:`~pathspec.patterns.gitignore.basic.GitIgnoreBasicPattern`.
	z~GitWildMatchPattern ('gitwildmatch') is deprecated. Use 'gitignore' for GitIgnoreBasicPattern or GitIgnoreSpecPattern instead.c                 $    t        |   |i | y)
		Warn about deprecation.
		N)super__init__)selfargskw	__class__s      `/var/www/html/content_weaver/venv/lib/python3.12/site-packages/pathspec/patterns/gitwildmatch.pyr   zGitWildMatchPattern.__init__   s     'DB    c                 "    t        |   |i |S )r   )r   pattern_to_regex)clsr   r   r   s      r   r   z$GitWildMatchPattern.pattern_to_regex%   s     
	!4	.2	..r   )returnN)
__name__
__module____qualname____doc__r   r   r   classmethodr   __classcell__)r   s   @r   r
   r
      sT     ; 	  ;/	  /r   r
   gitwildmatchN)r   pathspecr   pathspec._typingr   r   gitignore.specr   	gitignorer   GitWildMatchPatternErrorr
   register_pattern r   r   <module>r'      sA   
 
4/. /@   n&9 :r   