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 :  /proc/21572/root/usr/lib64/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21572/root/usr/lib64/python2.4/regsub.pyo
mò
‚=5Dc@sÀdZdkZeideƒeiddeeƒdkZddddd	gZd
„Zd„Z	dd
„Z
dd„Zd„Zdd„Z
had„Zd„Zd„Zd„ZdS(sRegexp-based split and replace using the obsolete regex module.

This module is only for backward compatibility.  These operations
are now provided by the new regular expression module, "re".

sub(pat, repl, str):        replace first occurrence of pattern in string
gsub(pat, repl, str):       replace all occurrences of pattern in string
split(str, pat, maxsplit):  split string using pattern as delimiter
splitx(str, pat, maxsplit): split string using pattern as delimiter plus
                            return delimiters
Ns4the regsub module is deprecated; please use re.sub()tignorettsubtgsubtsplittsplitxtcapwordscCset|ƒ}|i|ƒdjo?|i}|d\}}|| t|||ƒ||}n|S(Ni(
tcompiletpattprogtsearchtstrtregstatbtexpandtrepl(RRRR
RRR	((t/usr/lib64/python2.4/regsub.pyRs	&c
Cst|ƒ}d}d}d}	xÜ|i||ƒdjoÂ|i}|d\}}||jo
|jnoZ|	oR|t|ƒjp|i||dƒdjoPn|i}|d\}}n||||!t|||ƒ}|}d}	q!W|||}|S(NRii(RRR	tnewtstarttfirstR
RRR
RtlenRR(
RRRR
RRRR	RR((RR,s$	&0	!icCst|||dƒS(Ni(tintsplitRRtmaxsplit(RRR((RREscCst|||dƒS(Ni(RRRR(RRR((RROscCst|ƒ}
g}d}	}d}xÊ|
i||ƒdjo°|
i	}|d\}}||jo&|d}|t|ƒjoPqêq%|i
||	|!ƒ|o|i
|||!ƒn|}	}|d}|o||joPq%q%W|i
||	ƒ|S(Nii(RRR	tresRtnextt
splitcountR
RRR
RRtappendtretainR(RRRRR
RRRRRR	R((RRTs*
	

	


s[^a-zA-Z0-9_]+cCsSt||ƒ}x4tdt|ƒdƒD]}||iƒ||<q(Wdi|ƒS(NiiR(	RRRtwordstrangeRtit
capitalizetjoin(RRRR((RRns
cCsit|ƒtdƒjo|Sn|tiƒf}|tjot|}nti|ƒ}t|<|S(NR(ttypeRtregext
get_syntaxtkeytcacheR	R(RR%R	((RR…s
cCs
hadS(N(R&(((Rtclear_cachesc	Csd|jo|Snd}d}tdƒ}xä|t|ƒjoÐ||}|d}|djp|t|ƒjo||}q0||}|d}d|jo
djno/|t|ƒ|\}}||||!}q0|djo||}q0|d|}q0W|S(Ns\Rit0it9(RRRtordtord0RtcRR
RR(	RRRR
R,RRRR+((RR›s$
 
cCs#dk}|ido|id}nd}xî|iiƒo|iidƒn|iiƒ}|pPn|ddjo|d }nt	||ƒ}t|ƒdjodGHdGt|ƒGHq1nt	||ƒ\}}}d	Gtt|||ƒƒGHd
Gtt|||ƒƒGHq1WdS(Nis[ 	
]+s--> iÿÿÿÿs
isSorry, not three fieldsssplit:ssub :sgsub:(tsystargvtdelpattstdintisattytstderrtwritetreadlinetlineRtfieldsRtreprRRRRR(RR/R6R-RRR5((Rttest´s*	(t__doc__twarningstwarntDeprecationWarningtfilterwarningst__name__R#t__all__RRRRRRR&RR'RR8(
R#RRR?R:R'RRRRR8RR((Rt?s"					
				

Anon7 - 2021