KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/lib64/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.4/fnmatch.pyo
mò
‚=5Dc@sOdZdkZddddgZhZd„Zd„Zd„Zd	„ZdS(
s£Filename matching with shell patterns.

fnmatch(FILENAME, PATTERN) matches according to the local convention.
fnmatchcase(FILENAME, PATTERN) always takes case in account.

The functions operate by translating the pattern into a regular
expression.  They cache the compiled regular expressions for speed.

The function translate(PATTERN) returns a regular expression
corresponding to PATTERN.  (It does not compile it.)
Ntfiltertfnmatchtfnmatchcaset	translatecCs:dk}|ii|ƒ}|ii|ƒ}t||ƒS(s½Test whether FILENAME matches PATTERN.

    Patterns are Unix shell style:

    *       matches everything
    ?       matches any single character
    [seq]   matches any character in seq
    [!seq]  matches any char not in seq

    An initial period in FILENAME is not special.
    Both FILENAME and PATTERN are first case-normalized
    if the operating system requires it.
    If you don't want this, use fnmatchcase(FILENAME, PATTERN).
    N(tostpathtnormcasetnametpatR(RRR((t/usr/lib64/python2.4/fnmatch.pyRs
	cCsédk}dk}g}|ii|ƒ}|tjo#t|ƒ}t	i
|ƒt|<nt|i}|i|jo3xk|D]$}||ƒo|i|ƒq~q~Wn<x8|D]0}||ii|ƒƒo|i|ƒq±q±W|S(s2Return the subset of the list NAMES that match PATN(Rt	posixpathtresultRRRt_cacheRtrestretcompiletmatchtnamesRtappend(RRR
R
RRRR((R	R(s$


cCsG|tjo#t|ƒ}ti|ƒt|<nt|i|ƒdj	S(sTest whether FILENAME matches PATTERN, including case.

    This is a version of fnmatch() which doesn't case-normalize
    its arguments.
    N(	RRRR
RRRRtNone(RRR
((R	R<s

cCsÂdt|ƒ}}d}xž||jo||}|d}|djo|d}q|djo|d}q|djo"|}||jo||d	jo|d}n||jo||d
jo|d}nx-||jo||d
jo|d}qáW||jo|d}qµ|||!idd
ƒ}|d}|dd	jod|d}n |ddjod|}nd||f}q|t	i
|ƒ}qW|dS(sfTranslate a shell PATTERN to a regular expression.

    There is no way to quote meta-characters.
    itit*s.*t?t.t[t!t]s\[s\s\\t^s%s[%s]t$N(tlenRtitnR
tctjtreplacetstuffRtescape(RR RR
R!RR#((R	RHs>







(t__doc__Rt__all__RRRRR(R&RRRRRR((R	Rs				

Anon7 - 2021