AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/hamcrest/library/text/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/hamcrest/library/text/__pycache__/stringcontainsinorder.cpython-310.pyc
o

(]^��@sjddlmZddlmZddlmZddlmZdZdZ	dZ
Gdd	�d	ee�Zd
edeefdd
�Z
dS)�)�BaseMatcher)�Description)�	hasmethod)�MatcherzRomilly CockingzCopyright 2011 hamcrest.orgzBSD, see License.txtc@s:eZdZddd�Zdedefdd�Zdeddfd	d
�ZdS)�StringContainsInOrder�returnNcGs.|D]}t|t�st|jjd��q||_dS)Nz requires string arguments)�
isinstance�str�	TypeError�	__class__�__name__�
substrings)�selfr
�	substring�r�M/usr/lib/python3/dist-packages/hamcrest/library/text/stringcontainsinorder.py�__init__s

�
zStringContainsInOrder.__init__�itemcCs<t|d�sdSd}|jD]}|�||�}|dkrdSqdS)N�findFr���T)rr
r)rr�
from_indexrrrr�_matchess

�zStringContainsInOrder._matches�descriptioncCs|�ddd|j�dS)Nza string containing z, z	 in order)�append_listr
)rrrrr�describe_tosz!StringContainsInOrder.describe_to)rN)	r�
__module__�__qualname__rr	�boolrrrrrrrrs

rr
rcGst|�S)aMatches if object is a string containing a given list of substrings in
    relative order.

    :param string1,...:  A comma-separated list of strings.

    This matcher first checks whether the evaluated object is a string. If so,
    it checks whether it contains a given list of strings, in relative order to
    each other. The searches are performed starting from the beginning of the
    evaluated string.

    Example::

        string_contains_in_order("bc", "fg", "jkl")

    will match "abcdefghijklm".

    )r)r
rrr�string_contains_in_order srN)�hamcrest.core.base_matcherr�hamcrest.core.descriptionr�hamcrest.core.helpers.hasmethodr�hamcrest.core.matcherr�
__author__�
__copyright__�__license__r	rrrrrr�<module>s

Anon7 - 2022
AnonSec Team