|
|
Line 1: |
Line 1: |
| [http://krazykat1187.freehostia.com/description/napuli-e/ napuli e] [http://moviemania0.h18.ru/ank/ ank] [http://www.sunny-may.pop3.ru/resources/cd-vergini/ cd vergini r] [http://www.terry-a-boot.pop3.ru/content/gatos-presas/ gatos presas] [http://www.aneta-spb.pop3.ru/blog/trio-cordless.htm trio cordless brondi] [http://goer.freehostia.com/description/software-e.htm software e giochi] [http://bulopipe.125mb.com/web/weslo-sport.htm weslo sport 100 tapis roulant] [http://moniqueleigh.freehostia.com/data/foto-gratis19/ foto gratis burro] [http://evbailly.125mb.com/kit-asus/ kit asus a620 bt gps] [http://chistovskaya.freehostia.com/topic/locali-per5/ locali per scambisti napoli] [http://moviemania0.h18.ru/sexefree/ sexefree] [http://gealbrig.125mb.com/library/hotel-amrey.htm hotel amrey sant pau barcellona] [http://suhorne.125mb.com/kit-vivavoce/ kit vivavoce ericsson] [http://www.kitten130999.pop3.ru/view/the-adam.htm the adam s family] [http://kalahiet.125mb.com/articles/milano-mauritius/ milano mauritius biglietti aerei] [http://www.teplohead.pop3.ru/description/operazione-drago.htm operazione drago] [http://souya.freehostia.com/small/plastica.htm plastica] [http://www.teplohead.pop3.ru/description/bujaka-jamajka.htm bujaka jamajka] [http://biwittic.125mb.com/porno-vogliose/ porno vogliose] [http://www.kitten130999.pop3.ru/view/belalim.htm belalim] [http://bulopipe.125mb.com/web/house-music.htm house music cd] [http://www.wylt.pop3.ru/temario-gratis/ temario gratis] [http://gealbrig.125mb.com/library/www-empiresrts.htm www empiresrts com] [http://svinka.h18.ru/content/krystyna-escort.htm krystyna escort] [http://www.kitten130999.pop3.ru/view/cam-zeta.htm cam zeta blu] [http://midnightbrave.freehostia.com/xbox-live2/ xbox live giapponese in prova] [http://krazykat1187.freehostia.com/description/hp-color6/ hp color laserjet 2550n] [http://gimaynar.125mb.com/small/scheda-video/ scheda video ati radeon 256 mb agp 8x] [http://gimaynar.125mb.com/small/matia-bazar/ matia bazar brivido caldo] [http://www.wildhand.pop3.ru/topic/liberty-hotel.htm liberty hotel] [http://krazykat1187.freehostia.com/description/lamma/ lamma] [http://www.aneta-spb.pop3.ru/blog/ufficio-verona.htm ufficio verona] [http://cyclique.freehostia.com/content/foto-rocco/ foto rocco sinfredi] [http://svinka.h18.ru/content/clairefontaine-paperpc.htm clairefontaine paperpc] [http://chistovskaya.freehostia.com/topic/sistema-operativo5/ sistema operativo xp home] [http://bachenau.125mb.com/ozzano-monferrato.htm ozzano monferrato] [http://souya.freehostia.com/small/abit-k.htm abit k7 raid] [http://triniophoeni.h18.ru/richterite/ richterite] [http://gimaynar.125mb.com/small/formula-i/ formula i] [http://kalahiet.125mb.com/articles/cartina-storiche/ cartina storiche] [http://triniophoeni.h18.ru/mater-castrorum/ mater castrorum] [http://krazykat1187.freehostia.com/description/giacarta/ giacarta] [http://maross.125mb.com/library/diamond-drop.htm diamond drop] [http://ruwilhel.125mb.com/resources/saitek-rumble.htm saitek rumble pad] [http://souya.freehostia.com/small/insufficenza-venosa.htm insufficenza venosa] [http://www.teplohead.pop3.ru/description/pampar-up.htm pampar up] [http://www.teplohead.pop3.ru/description/pirates-musk.htm pirates musk] [http://www.lemonn-ka.pop3.ru/small/www-tnt/ www tnt kamasutra it] [http://ohvoice.125mb.com/web/iona/ iona] [http://evbailly.125mb.com/johnny-reno/ johnny reno] [http://keniff.125mb.com/topic/per-fare.htm per fare l amore] [http://krazykat1187.freehostia.com/description/incontri-reali/ incontri reali trento] [http://taedward.125mb.com/description/suoneria-dune/ suoneria dune buggy] [http://timo-kiev.freehostia.com/biggest-tit.htm biggest tit] [http://cyclique.freehostia.com/content/musica-y/ musica y matemarica] [http://goer.freehostia.com/description/forcella-bici.htm forcella bici] [http://www.aneta-spb.pop3.ru/blog/niguarda.htm niguarda] [http://kalahiet.125mb.com/articles/lewisham/ lewisham] [http://doublename.125mb.com/netgear-wgtis.htm netgear wg111tis] [http://timo-kiev.freehostia.com/mascia.htm mascia] [http://chistovskaya.freehostia.com/topic/moresco/ moresco] [http://bachenau.125mb.com/www-satlink.htm www satlink com] [http://bulopipe.125mb.com/web/figaro.htm figaro] [http://svinka.h18.ru/content/d-brown.htm d brown angeli e demoni] [http://littleangel1.h18.ru/html/deurne-paesi.htm deurne (paesi bassi)] [http://www.sunny-may.pop3.ru/resources/gelati-per/ gelati per bimbi] [http://www.aneta-spb.pop3.ru/blog/speculator.htm speculator] [http://bulopipe.125mb.com/web/www-dovecomequando.htm www dovecomequando it] [http://goer.freehostia.com/description/emerson.htm emerson] [http://www.lemonn-ka.pop3.ru/small/zafira-confort/ zafira confort elegance] [http://reliles.125mb.com/library/daniela-romo.htm daniela romo] [http://gor22011978.pop3.ru/articles/disney-land/ disney land] [http://ohvoice.125mb.com/web/ciao-mare/ ciao mare] [http://midnightbrave.freehostia.com/u2/ u 96] [http://timo-kiev.freehostia.com/hard-disc12.htm hard disc lacie 250] [http://cyclique.freehostia.com/content/aaa-color/ aaa color picker 10] [http://cyclique.freehostia.com/content/olimpus-mrobe/ olimpus mrobe] [http://littleangel1.h18.ru/html/occhi-di.htm occhi di gatto vol 1] [http://www.teplohead.pop3.ru/description/mediamente-isterica.htm mediamente isterica di carmen consoli] [http://ruwilhel.125mb.com/resources/call-to.htm call to power ii] [http://doublename.125mb.com/trust-acquisizione.htm trust acquisizione] [http://www.kitten130999.pop3.ru/view/dvd-x.htm dvd 8x verbatim] [http://littleangel1.h18.ru/html/suzuky-gran.htm suzuky gran vitara] [http://souya.freehostia.com/small/lampade-fluorescenti.htm lampade fluorescenti illuminazione] [http://souya.freehostia.com/small/colegialas-putas.htm colegialas putas] [http://www.prairiesky.pop3.ru/view/immagini-da/ immagini da lost kingdoms ii] [http://reliles.125mb.com/library/deposito.htm deposito] [http://gealbrig.125mb.com/library/doblo-usato.htm doblo usato] [http://timo-kiev.freehostia.com/frequenza-di.htm frequenza di eurosport] [http://bachenau.125mb.com/ragazza-nizza.htm ragazza nizza] [http://www.shadowthecatslj.pop3.ru/data/conspiracy-soluzione/ conspiracy soluzione finale] [http://gimaynar.125mb.com/small/duran-duran/ duran duran arena (an absurd notion) e making of arena] [http://chistovskaya.freehostia.com/topic/pantera/ pantera] [http://krazykat1187.freehostia.com/description/elettrodomestici-smeg/ elettrodomestici smeg a potenza] [http://rimarsh.125mb.com/topic/oakley-half/ oakley half jacket polarized] [http://kalahiet.125mb.com/articles/davvero-sexi/ davvero sexi] [http://www.rei794.pop3.ru/articles/antenna-gps.htm antenna gps globalsat] [http://reliles.125mb.com/library/palio-di.htm palio di siena] [http://kalahiet.125mb.com/articles/shell-shock/ shell shock trucchi] [http://timo-kiev.freehostia.com/organigramma.htm organigramma] [http://www.hiidenkivenpaivakoti.fi/help/new/mhmwtq.html Francesco guccini] [http://www.startonlineweb.com/help/new/powhmf.html Notebook acer] [http://www.worthwhilehosting.com/banners/auto/jgiqdv.html Foresta] [http://www.startonlineweb.com/help/new/phurpi.html Libro dislessia] [http://www.startonlineweb.com/help/new/vrxeuk.html Ww angolo testi it] [http://www.worthwhilehosting.com/banners/auto/pvxcnu.html Norimberga cose fare] [http://www.worthwhilehosting.com/banners/auto/jlnpmo.html Creare frasi glitterate] [http://www.hiidenkivenpaivakoti.fi/help/new/bdoaoo.html Curriculum vitae europeo] [http://www.ccrs.uzh.ch/user/root/irbtlu.html Free mature video] [http://www.startonlineweb.com/help/new/wbpkvq.html Storie porno illustrate] [http://www.worthwhilehosting.com/banners/auto/nocqss.html Donne vogliose video] [http://www.ccrs.uzh.ch/user/root/guwdvr.html Asromacalcio it] [http://www.startonlineweb.com/help/new/ntuvxn.html Ghoan sesso con videl] [http://www.ccrs.uzh.ch/user/root/wxidls.html Porte vetro scorrevoli] [http://www.worthwhilehosting.com/banners/auto/jkfred.html Nudo di culi femminili] [http://www.hiidenkivenpaivakoti.fi/help/new/ofuffu.html Naruto hentai] [http://www.worthwhilehosting.com/banners/auto/dffkax.html Puntatori diddl] [http://www.startonlineweb.com/help/new/bommxf.html Indata istat it turismo] [http://www.hiidenkivenpaivakoti.fi/help/new/bkqete.html Moissanite] [http://www.worthwhilehosting.com/banners/auto/crkhwn.html Vecchie gratis] [http://www.worthwhilehosting.com/banners/auto/uenmxp.html Hotel portofino] [http://www.ccrs.uzh.ch/user/root/ntscis.html Pentola rame] [http://www.startonlineweb.com/help/new/cdjwtv.html Troie che scopano con animali] [http://www.ccrs.uzh.ch/user/root/wfktvu.html Snai] [http://www.ccrs.uzh.ch/user/root/wikfha.html My way frank sinatra] [http://www.hiidenkivenpaivakoti.fi/help/new/dhimdc.html Download puntatori mouse] [http://www.hiidenkivenpaivakoti.fi/help/new/gknrqu.html Biondine] [http://www.ccrs.uzh.ch/user/root/sqevti.html Simpson hentay] [http://www.ccrs.uzh.ch/user/root/ddecpx.html Culi di donne nere] [http://www.worthwhilehosting.com/banners/auto/iihoiu.html Banco posta on line] [http://www.worthwhilehosting.com/banners/auto/avhufb.html Albergo sicilia centro] [http://www.ccrs.uzh.ch/user/root/qbjbwf.html Tette mature] [http://www.startonlineweb.com/help/new/dtgkpo.html Incontro webcam sesso] [http://www.ccrs.uzh.ch/user/root/iwucwv.html Apicoltura piana] [http://www.hiidenkivenpaivakoti.fi/help/new/hdleeh.html Spot tv pubblicita musica ford] [http://www.hiidenkivenpaivakoti.fi/help/new/qekqkn.html Milva] [http://www.startonlineweb.com/help/new/iqrcat.html Teen facial kacey] [http://www.worthwhilehosting.com/banners/auto/tekanq.html Firenze casa] [http://www.startonlineweb.com/help/new/qilwsx.html Cerco lavoro chiesa valmalenco] [http://www.hiidenkivenpaivakoti.fi/help/new/hlejdf.html Pornostar bionde] [http://www.hiidenkivenpaivakoti.fi/help/new/ohtckw.html Immagini blog] [http://www.worthwhilehosting.com/banners/auto/uqrgce.html Pornovideo gradis] [http://www.worthwhilehosting.com/banners/auto/doxnbc.html Corsi marketing] [http://www.ccrs.uzh.ch/user/root/fjjabi.html Discoteca roma cube] [http://www.startonlineweb.com/help/new/loeugf.html Sex incontro italia varese] [http://www.worthwhilehosting.com/banners/auto/fnbdgl.html Costantino vitagliano] [http://www.startonlineweb.com/help/new/rqepcs.html Petto di pollo brasato con vino rosso] [http://www.ccrs.uzh.ch/user/root/nqisui.html Justine mattera video] [http://www.worthwhilehosting.com/banners/auto/bhnwrw.html Annunci69 it] [http://www.worthwhilehosting.com/banners/auto/iabkdu.html Agip petrolio] [http://www.ccrs.uzh.ch/user/root/iqsctx.html Big teets] [http://www.hiidenkivenpaivakoti.fi/help/new/pqvhtb.html Finanza online forum snai] [http://www.worthwhilehosting.com/banners/auto/rrsbol.html Hotel don manuel lisbona] [http://www.worthwhilehosting.com/banners/auto/pfaoax.html Poesia anniversario matrimonio] [http://www.worthwhilehosting.com/banners/auto/lxjcok.html Cessione quinto prestito] [http://www.worthwhilehosting.com/banners/auto/apvfjk.html Troia it] [http://www.worthwhilehosting.com/banners/auto/smqpis.html Boy from istambul] [http://www.hiidenkivenpaivakoti.fi/help/new/fsxvdq.html Fighe depilate] [http://www.hiidenkivenpaivakoti.fi/help/new/borpvk.html Quotazioni auto storiche] [http://www.worthwhilehosting.com/banners/auto/qopckh.html Asiatiche nude] [http://www.worthwhilehosting.com/banners/auto/dxvwxf.html Misura qi gratis] [http://www.hiidenkivenpaivakoti.fi/help/new/cuxxce.html Gay animal sex] [http://www.ccrs.uzh.ch/user/root/cewhak.html Canalis porn] [http://www.ccrs.uzh.ch/user/root/bblwoi.html Pissing porno] [http://www.hiidenkivenpaivakoti.fi/help/new/jqvkae.html Refrigerazione frigorifero] [http://www.hiidenkivenpaivakoti.fi/help/new/ugqxxu.html Andamento euribor] [http://www.worthwhilehosting.com/banners/auto/bqprcm.html Repubblica dominicana] [http://www.hiidenkivenpaivakoti.fi/help/new/cctgei.html Appunti farmacologia] [http://www.worthwhilehosting.com/banners/auto/bhsgjk.html Hotel tenerife] [http://www.ccrs.uzh.ch/user/root/gupgsn.html Borsaitalia it] [http://www.worthwhilehosting.com/banners/auto/vdtbgt.html Guepiere] [http://www.worthwhilehosting.com/banners/auto/bbqkju.html Custodia nera dvd] [http://www.startonlineweb.com/help/new/sdtvlb.html Bed and breakfast stresa] [http://www.worthwhilehosting.com/banners/auto/rrhvha.html Jazz piano spartito] [http://www.ccrs.uzh.ch/user/root/lfqauq.html Foto inculata scopata transex] [http://www.ccrs.uzh.ch/user/root/ckqocx.html Rinoplastica settoplastica] [http://www.ccrs.uzh.ch/user/root/gukxlw.html Amburgo cose fare] [http://www.hiidenkivenpaivakoti.fi/help/new/nblucp.html Avatar per extremelot] [http://www.startonlineweb.com/help/new/oqbune.html Sexy granny] [http://www.startonlineweb.com/help/new/malsrd.html Spaghetti con le cozze] [http://www.worthwhilehosting.com/banners/auto/lxngad.html Porno free trans] [http://www.startonlineweb.com/help/new/gsxwow.html Teen tits] [http://www.ccrs.uzh.ch/user/root/tnootl.html Hotel pescasseroli] [http://www.worthwhilehosting.com/banners/auto/qsebmn.html Gormiti colorare] [http://www.ccrs.uzh.ch/user/root/odgjpj.html Offerta hotel rimini] [http://www.startonlineweb.com/help/new/trnqxu.html Foto di nudi maschili] [http://www.startonlineweb.com/help/new/vmxdum.html Giovanni allevi] [http://www.startonlineweb.com/help/new/uslikl.html Investire borsa] [http://www.worthwhilehosting.com/banners/auto/rrklup.html Pokemon rosso fuoco] [http://www.startonlineweb.com/help/new/etgbxu.html Implantologia croazia] [http://www.hiidenkivenpaivakoti.fi/help/new/adlduv.html Il piccolo] [http://www.ccrs.uzh.ch/user/root/dlppjh.html Decolte] [http://www.hiidenkivenpaivakoti.fi/help/new/uqobqq.html Anteprima video pornografici] [http://www.worthwhilehosting.com/banners/auto/gamltd.html Roroscopo] [http://www.hiidenkivenpaivakoti.fi/help/new/unvbbg.html Dormire madrid] [http://www.worthwhilehosting.com/banners/auto/ejbvva.html Tendinite] [http://www.hiidenkivenpaivakoti.fi/help/new/aixbst.html Culi sexy] [http://www.worthwhilehosting.com/banners/auto/hgolbw.html Amsterdam ristorante] [http://www.worthwhilehosting.com/banners/auto/ejvfqc.html Vendita dvd r] [http://www.worthwhilehosting.com/banners/auto/gchlou.html Articolo regalo cristallo] So wtf does group_string actually do? The linked "descriptive" post has an utterly unhelpful example. Has anyone ever used it for anything?
| | So wtf does group_string actually do? The linked "descriptive" post has an utterly unhelpful example. Has anyone ever used it for anything? |
|
| |
|
| Groups a string into a map using a regular expression. To understand the function you must know. | | Groups a string into a map using a regular expression. To understand the function you must know. |
So wtf does group_string actually do? The linked "descriptive" post has an utterly unhelpful example. Has anyone ever used it for anything?
Groups a string into a map using a regular expression. To understand the function you must know.
1. What maps are and how they are used.
2. Understand what regular expressions are and how to create them.
Using the original post:
FUNCTION DEFINTION: string [int,int] group_string( string source, string regex )
EXAMPLE: string [int,int] test = group_string( "This is a test", "([a-z] ) " );
Example Breakdown:
string [int,int] Define a map. Two dimensional. The indices are integers. The data is stored as a string.
test Define the map with name test.
group_string Call the function.
"This is a Test" Feeding the function a sample string.
"([a-z] ) " Your regular expression.
Regular expressions deal with pattern matching. You want the function to find a particular pattern. The function then returns that pattern, or the stuff before it, or the stuff after it, or splits them appart, or squeezes them together. So what does this regular expression look for?
The Parenthesis (): Tell the function this is a group of characters.
[a-z]: Tell us they will be lower case letters.
: Tell us to look for one or more characters.
That space between the ) and " Tells us the pattern ends in a space.
Thus reading down the string.
T = Does not match [a-z] is a capital letter.
h = Matches [a-z]. Starting Group
i = Matches [a-z]
s = Matches [a-z]
= Matches space. First group found and is "his "
i = Matches [a-z]. Starting Group
s = Matches [a-z]
= Matches space. Second group found, and is "is "
a = Matches [a-z]. Starting Group
= Matches space. Third group found, and is "a "
t = Matches [a-z]. Starting Group
e = Matches [a-z]
s = Matches [a-z]
t = Matches [a-z]
End of line. No more matches. Stop.
Thus, trusting the post, the map would be:
test[0][0] => "his "
test[0][1] => "his"
test[1][0] => "is "
test[1][1] => "is"
test[2][0] => "a "
test[2][1] => "a"
I personally haven't used it. Would be used in parsing a page by hand.