Are they powerful? Well they are compatible with PERL's Regular
expressions...you should use the 'preg_' functions...

Check the manual anyway...: http://www.php.net/manual/en/ref.pcre.php

"Jeff Lewis" <[EMAIL PROTECTED]> wrote in message
009201c13704$b20abe90$76a1a8c0@LEWISJCIT">news:009201c13704$b20abe90$76a1a8c0@LEWISJCIT...
I have a lot of scripts written in perl here and have been using PHP a lot
now.  I am wondering if PHPs regexps are powerful or not.  I will show a
small section of this code below that I clean up witht he perl scripts.  It
cleans it almost right up but take a look :)  And YES there is actually
information we use in this file :)

Jeff

*******************************************BATCHJobBATCH_384,SubmittedbyPRDM
ANOPERonNodeKWRB*******************************************%SET-W-NOTSET,err
ormodifyingKWRB$DKA0:-CLI-E-IVDEVTYPE,invaliddevicetype-specifyamailboxdevic
e$log*o=="logoff/full"needtohavecapabilities$tologout$iff$mode().eqs."INTERA
CTIVE"thenprdmenu$logout/full$hellosystemKWRtakes0Hellosystem,haveaniceday$
setverify$znewdate$6sep01$heading$@clasNumb:1000@sort:BABYBEDDI@firs:6sep01L
9BC11758KWRN2N1V4$Diag1135247V2<sti><namPOS><sv10><fu1><bns><bc>*cbe,99<ec1>
<bc>*pe<ec1><eol><ava90><m1560><sha28><ewi67><bc>*tfNEWSGO<ec1><fs81><vbn271
><ps200><bc>*BF<ec1><fs83><vbn273><sfv1><bc>*ps6<ec1><ps120><bc>*ss6.5<ec1><
ss130><bc>*la104%<ec1><bc>*cpe<ec1><bc>*cse<ec1><bc>*ih6.<ec1><bc>*bo<ec1><e
ns>BABY,<mha>BEDDING<bc>*bb<ec1><bns><bc>*cpd<ec1><bc>*tfNEWSGO<ec1><fs81><v
bn271><sfv0><bc>*ps6.<ec1><ss120><bc>*ss6.5<ec1><ss130><bc>*la104%<ec1><bc>*
fe<ec1><ens><mha>for<mha>crib.<mha>In<bns>-<ens><eol><ava124><sha58><aha120>
<ewi67>cludes<mha>matching<mha>Crib<mha>Mo<bns>-<ens><eol><ava124><sha26><ah
a120><ri312><ewi67>bile.<mha>$20.<mha>578-6231.<mha><bns><bc>*dih<ec1><bc>*p
e<ec1><eol><ava60><ri12><ewi67><bc>*lcd<ec1><bc>*add<ec1><bc>*ic<ec1><bc>*IR
.6<ec1><bc>*rs.5<ec1><bc>*la3.<ec1><bc>*rab<ec1><hpr0><rul10,1548><aha1548><
bc>*ru<ec1><bc>*fe<ec1><ens><ava30><eol>
$@clasNumb:1000@sort:BABYBEDDI@firs:6sep01L9BA46614KWRN2N3C7$Diag1117244V2<s
ti><namPOS><sv10><fu1><bns><bc>*cbe,99<ec1><bc>*pe<ec1><eol><bc>*tfNEWSGO<ec
1><fs81><vbn271><ps200><bc>*BF<ec1><fs83><vbn273><sfv1><bc>*ps6<ec1><ps120><
bc>*ss6.5<ec1><ss130><bc>*la104%<ec1><bc>*cpe<ec1><bc>*cse<ec1><bc>*ih6.<ec1
><bc>*bo<ec1><ens><bc>*com<ec1><bc><bn><nop>Memo:sameplaced...e-mail....dee<
10><ec1><eol><ava90><m1560><sha25><ewi67>BABY<mha>BEDDING.<bc>*bb<ec1><bns><
bc>*cpd<ec1><bc>*tfNEWSGO<ec1><fs81><vbn271><sfv0><bc>*ps6.<ec1><ss120><bc>*
ss6.5<ec1><ss130><bc>*la104%<ec1><bc>*fe<ec1><ens><aha26>Noah's<mha>Ark<eol>
<ava124><sha51><aha120><ewi67>from<mha>Sears,<mha>A1<mha>condition.<eol><ava
124><sha26><aha120><ri326><ewi67>$50<mha>firm.<mha>743-9923.<mha><bns><bc>*d
ih<ec1><bc>*pe<ec1><eol><ava60><ri12><ewi67><bc>*lcd<ec1><bc>*add<ec1><bc>*i
c<ec1><bc>*IR.6<ec1><bc>*rs.5<ec1><bc>*la3.<ec1><bc>*rab<ec1><hpr0><rul10,15
48><aha1548><bc>*ru<ec1><bc>*fe<ec1><ens><ava30><eol>
$@clasNumb:1000@sort:BABYBREAS@firs:6sep01L9BB31124KWRN1B1B5$Diag1131124V1<s
ti><namPOS><sv10><fu1><bns><bc>*cbe,99<ec1><bc>*pe<ec1><eol><bc>*tfNEWSGO<ec
1><fs81><vbn271><ps200><bc>*BF<ec1><fs83><vbn273><sfv1><bc>*ps6<ec1><ps120><
bc>*ss6.5<ec1><ss130><bc>*la104%<ec1><bc>*cpe<ec1><bc>*cse<ec1><bc>*ih6.<ec1
><bc>*bo<ec1><ens><bc>*com<ec1><bc><bn><nop>Memo:same....faxed.....dee<10><e
c1><eol><csa0><ava90><m1560><sha199><ewi67>BABY<mha>BREAST<bc>*bb<ec1><bns><
bc>*cpd<ec1><bc>*tfNEWSGO<ec1><fs81><vbn271><sfv0><bc>*ps6.<ec1><ss120><bc>*
ss6.5<ec1><ss130><bc>*la104%<ec1><bc>*fe<ec1><ens><mha>pump.<csa0><eol><ava1
24><sha23><aha120><ewi67>Gerber.<mha>Like<mha>new.<mha>$35.<mha>Call<eol><av
a124><aha120><ri852><ewi67>653-3355.<bns><bc>*dih<ec1><bc>*pe<ec1><eol><ava6
0><ri12><ewi67><bc>*lcd<ec1><bc>*add<ec1><bc>*ic<ec1><bc>*IR.6<ec1><bc>*rs.5
<ec1><bc>*la3.<ec1><bc>*rab<ec1><hpr0><rul10,1548><aha1548><bc>*ru<ec1><bc>*
fe<ec1><ens><ava30><eol>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to