
    %
ir                         d dl Z d dlZd dlmZ d dlmZ  G d dej        j        j	                  Z
edk    r e j                     dS dS )    N)DumbDispatch)EnsureDispatchc                   &    e Zd Zd Zd Zd Zd ZdS )	RegexTestc                     g }|D ]}|                     |j                   |                     t          |          t          |                     d S )N)append
FirstIndexassertEquallist)selfmatchexpectedfoundimatchs        C:\Users\Dell Inspiron 16\Desktop\tws\AgrotaPowerBi\back-agrota-powerbi\mcp-client-agrota\venv\Lib\site-packages\win32com/test/testvbscript_regexp.py_CheckMatcheszRegexTest._CheckMatches	   sV     	, 	,FLL*++++ed8nn55555    c                     d}d|_         d|_        d|_        |                    |          }d}|                     ||           d|_        |                    |          }d}|                     ||           d S )NzPython python pYthon PythonPythonT)r            F)r   r   )PatternGlobal
IgnoreCaseExecuter   )r   reStringToSearchr   r   s        r   _TestVBScriptRegexzRegexTest._TestVBScriptRegex   s    7
	

>**5(+++

>**5(+++++r   c                 N    t          d          }|                     |           d S NzVBScript.Regexp)r   r   r   r   s     r   testDynamiczRegexTest.testDynamic   s*    +,,#####r   c                 N    t          d          }|                     |           d S r!   )r   r   r"   s     r   testGeneratedzRegexTest.testGenerated"   s*    -..#####r   N)__name__
__module____qualname__r   r   r#   r%    r   r   r   r      sP        6 6 6, , ,$ $ $$ $ $ $ $r   r   __main__)unittestwin32com.test.utilwin32comwin32com.client.dynamicr   win32com.client.gencacher   testutilTestCaser   r&   mainr)   r   r   <module>r4      s         0 0 0 0 0 0 3 3 3 3 3 3$ $ $ $ $"+ $ $ $> zHMOOOOO r   