Talk:String Handling Routines: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
No edit summary
imported>Bale
No edit summary
 
(52 intermediate revisions by 31 users not shown)
Line 1: Line 1:
[http://km400.apodoses.info/ km 400] [http://forswear.info/blog/graciefields.html gracie fields] [http://wwwseanpaul.anywhy.info/ www sean paul] [http://idontwantyour.anywhy.info/ i don t want your back] [http://wackyraces.unrust.info/ wacky races] [http://jacinthe.info/html/extremecfnm.html Extreme cfnm] [http://krazyracers.apodoses.info/ krazy racers] [http://sede.overhit.info/ sede] [http://missmark.info/topic/exwmiaagaph.html exw mia agaph] [http://missmark.info/topic/gpssdtomtom.html gps sd tomtom] [http://missmark.info/topic/voipstunt.html voipstunt] [http://menoman.overhit.info/ men o man] [http://episomes.info/articles/mpcorn.html mp corn] [http://episomes.info/articles/guernsey.html guernsey] [http://dragosteahaiducci.anywhy.info/ dragostea haiducci] [http://esca.anywhy.info/ esca] [http://overhit.info/index7_666.html url] [http://deppimpact.geratic.info/ depp impact] [http://adslwifimodem.apodoses.info/ adsl wifi modem] [http://x850xt256.unrust.info/ x850xt 256] [http://forswear.info/blog/arc4120alu.html arc 4120 alu] [http://moulinroge.overhit.info/ moulin roge] [http://raoulanttheking.overhit.info/ raoul ant the king of spain] [http://geratic.info/index3_250.html map] [http://dvddvixsamsung.apodoses.info/ dvd dvix samsung] [http://raymanm.geratic.info/ rayman m] [http://forswear.info/blog/wintvpvrmce.html wintv pvr mce] [http://forswear.info/blog/philipslcd30.html philips lcd 30] [http://fujifinepixs2.apodoses.info/ fuji finepix s2] [http://episomes.info/articles/mypalasusa620bt.html mypal asus a620bt] [http://anywhy.info/ anywhy.info] [http://missmark.info/topic/ssmax.html ssmax] [http://office2003word.anywhy.info/ office 2003 word] [http://episomes.info/articles/asusa6vaq021h.html asus a6va q021h] [http://bergnick.anywhy.info/ berg nick] [http://gammasrl.overhit.info/ gamma srl] [http://thermaltake.apodoses.info/ thermaltake w0049 680w] [http://cardreader.anywhy.info/ card reader] [http://celeboops.unrust.info/ celeb oops] [http://episomes.info/articles/goldeneyerogueagent.html goldeneye rogue agent] [http://wwwyoox.apodoses.info/ www yoox] [http://jacinthe.info/html/marronsthis.html marrons this love] [http://pornocartoon.overhit.info/ porno cartoon] [http://cavofire.apodoses.info/ cavo fire] [http://wwwgr.unrust.info/ www gr] [http://anywhy.info/index6_1000.html url] [http://forswear.info/blog/beauty.html beauty] [http://episomes.info/articles/babyh.html babyh] [http://missmark.info/topic/rapinaalsole.html rapina al sole] [http://jacinthe.info/html/wwwsatlinkcom.html www sat link com] [http://apodoses.info/ apodoses.info] [http://ken3.apodoses.info/ ken 3] [http://episomes.info/articles/guessco.html guess co] [http://jacinthe.info/html/toyotaakm0.html toyota a km 0] [http://forswear.info/blog/beheadedofsum.html beheaded of sum ii] [http://cihataskin.anywhy.info/ cihat askin] [http://jacinthe.info/html/lcdsharpaquos.html lcd sharp aquos] [http://episomes.info/articles/elinnordegren.html elin nordegren] [http://microsoftisaserver.apodoses.info/ microsoft isa server 2004] [http://missmark.info/topic/fabien.html fabien] [http://jacinthe.info/html/onmykness.html on my kness] [http://episomes.info/articles/fighi.html fighi] [http://episomes.info/articles/hooters.html hooters] [http://jkrantz.unrust.info/ j krantz] [http://trueimage80.unrust.info/ true image 8 0] [http://hoyun.unrust.info/ hoyun] [http://missmark.info/topic/lifebook7010.html lifebook 7010] [http://episomes.info/articles/tapemark.html tape mark] [http://dannii.geratic.info/ dannii] [http://missmark.info/topic/sapphirex800xt.html sapphire x800 xt] [http://artgarfunkel.apodoses.info/ art garfunkel] [http://cic.unrust.info/ cic] [http://jacinthe.info/html/pdp506xde.html pdp 506xde] [http://shapeshifter.overhit.info/ shapeshifter] [http://stephenhawking.geratic.info/ stephen hawking] [http://episomes.info/articles/lanfa.html lanfa] [http://vangoogh.geratic.info/ van googh] [http://hefeelsmeup.anywhy.info/ he feels me up] [http://dwlg520.geratic.info/ dwl g520] [http://racingclub.overhit.info/ racingclub] [http://wwwkeishacom.anywhy.info/ www keisha com] [http://fiatx19.apodoses.info/ fiat x1 9] [http://episomes.info/articles/alba.html a l b a] [http://apodoses.info/ apodoses.info] [http://jacinthe.info/html/crazytaxi.html crazy  taxi] [http://ridgeracerpsp.anywhy.info/ ridge racer psp] [http://jacinthe.info/html/tetesode.html tete sode] [http://jacinthe.info/html/menaabdullah.html mena abdullah] [http://missmark.info/topic/nikeaqua.html nike aqua] [http://yercuntry.anywhy.info/ yer cuntry] [http://photoshow2005.anywhy.info/ photoshow 2005] [http://jacinthe.info/html/peterkremer.html peter kremer] [http://forswear.info/blog/knightsrider.html knights rider] [http://jacinthe.info/html/toyotalandcruiser.html toyota land cruiser lj70] [http://missmark.info/topic/gruppodeisei.html gruppo dei sei] [http://forswear.info/blog/hpdlpmp3130.html hp dlp mp 3130] [http://dormireacomo.geratic.info/ dormire a como] [http://forswear.info/blog/quilmesrock.html quilmes rock] [http://missmark.info/topic/inhandscan.html in hand scan] [http://jfk.apodoses.info/ jfk] [http://episomes.info/articles/findout.html find out] [http://ducci.geratic.info/ ducci] [http://speaker.anywhy.info/ speaker] [http://ouahigouya.anywhy.info/ ouahigouya] [http://asusmx.anywhy.info/ asus mx] [http://forswear.info/blog/wisdom.html wisdom] [http://dwl2000ap.apodoses.info/ dwl 2000 ap] [http://kaho.unrust.info/ kaho] [http://missmark.info/topic/dojinshibiz.html Dojinshi biz] [http://nerovhs.apodoses.info/ nero vhs] [http://missmark.info/topic/tangoroxanne.html tango roxanne] [http://velvetunderground.unrust.info/ velvet underground] [http://episomes.info/articles/fullfilmporno.html full film porno free] [http://episomes.info/articles/lavigneeros.html lavigne eros] [http://mercedesslk200.geratic.info/ mercedes slk 200 evo] [http://missmark.info/topic/dysy.html dy sy] [http://episomes.info/articles/nokia310tdecoder.html nokia 310t decoder] [http://vgns4hpb.unrust.info/ vgn s4hp b] [http://demand.anywhy.info/ demand] [http://tuxedemoon.apodoses.info/ tuxedemoon] [http://episomes.info/articles/preteenbbs.html Preteen bbs] [http://proceduresql.unrust.info/ procedure sql] [http://forswear.info/blog/trekkies.html trekkies] [http://bias.unrust.info/ bias] [http://motosgp.geratic.info/ motos gp] [http://davidcrosby.apodoses.info/ david crosby] [http://episomes.info/articles/cn65.html cn 65] [http://forswear.info/blog/transfreepics.html trans free pics] [http://computertoshiba.unrust.info/ computer toshiba] [http://ram66mhz.unrust.info/ ram 66mhz] [http://anywhy.info/ anywhy.info] [http://forswear.info/blog/sapphireradeonx700.html sapphire radeon x700 pro] [http://katyroseoverdrive.anywhy.info/ katy rose overdrive] [http://apodoses.info/index2_1000.html homepage] [http://episomes.info/articles/sylvielubamba.html Sylvie lubamba topless] [http://spidermantheme.overhit.info/ spider man theme] [http://yhegrudge.apodoses.info/ yhe grudge] [http://igi2.anywhy.info/ igi2] [http://schwelm.unrust.info/ schwelm] [http://thermaltake680w.anywhy.info/ thermaltake 680w] [http://fifa2000.unrust.info/ fifa 2000] [http://expressirispen.overhit.info/ express irispen] [http://compex2.geratic.info/ compex 2] [http://jacinthe.info/html/mp3512philips.html mp3 512 philips] [http://modauomo2005.unrust.info/ moda uomo 2005] [http://wwwroten.geratic.info/ www roten] [http://unrust.info/ unrust.info] [http://tvlcddvdcombo.anywhy.info/ tv lcd dvd combo] [http://missmark.info/topic/wwwsemarnatgobmx.html www semarnat gob mx] [http://hs2rnokia.apodoses.info/ hs 2r nokia] [http://www.electrodrome.net/modules/Forums/cache/images/js/pocrhc.html Verga] [http://www.futurenuke.com/games/images/js/vdmend.html Gioiello bracciale tennis] [http://www.futurenuke.com/games/images/js/dcihwg.html Test intelligenza gratis] [http://www.sicman.org/components/images/js/jcwaae.html Gongolocom] [http://www.sibernews.com/cache/images/js/jmbfmk.html Venaria reale] [http://www.electrodrome.net/modules/Forums/cache/images/js/mthdtp.html Pandamoviescom] [http://www.rapidairsoft.hu/components/images/js/ctgvtd.html Hotel spoleto] [http://www.rapidairsoft.hu/components/images/js/hijoip.html Foto puttanelle] [http://www.futurenuke.com/games/images/js/slbstn.html Vip uomini nudi] [http://www.imminent-threat.com/files/images/js/uslgcs.html Altamura] [http://www.sibernews.com/cache/images/js/tmacua.html Pescara calcio] [http://www.grammateas.gr/gr/language/lang_english/images/js/fibapx.html Traduci testi] [http://www.rapidairsoft.hu/components/images/js/gqfcex.html Polinesia francese tahiti attrazioni] [http://www.bhdstats.foxspecialops.com/maps/images/js/epstma.html Kelis] [http://www.electrodrome.net/modules/Forums/cache/images/js/ktrhhl.html Affitta casa calabria it] [http://www.sicman.org/components/images/js/clgtxq.html Collant sexy] [http://www.futurenuke.com/games/images/js/nsavkc.html Stock fallimento] [http://www.futurenuke.com/games/images/js/pxmivl.html Www banca intesa it] [http://www.electrodrome.net/modules/Forums/cache/images/js/mcuajm.html Maglioni] [http://www.bhdstats.foxspecialops.com/maps/images/js/pxgpmw.html Ischia albergo terme] [http://www.grammateas.gr/gr/language/lang_english/images/js/araqex.html H2210] [http://www.aka-execution.com/modules/Forums/cache/images/js/dcrakv.html Chat porno] [http://www.sibernews.com/cache/images/js/gpfutn.html Prenotazione albergo venezia] [http://www.grammateas.gr/gr/language/lang_english/images/js/oicemv.html Portogruaro] [http://www.electrodrome.net/modules/Forums/cache/images/js/beftrg.html pensione completa barcellona] [http://www.electrodrome.net/modules/Forums/cache/images/js/xomaap.html La fata carabina] [http://www.sibernews.com/cache/images/js/dwbkcx.html Canzoni zecchino d oro] [http://www.futurenuke.com/games/images/js/uopbma.html Pasticceria] [http://www.bhdstats.foxspecialops.com/maps/images/js/jagdss.html Shitting smut] [http://www.futurenuke.com/games/images/js/xfewlm.html Racconto eros] [http://www.aka-execution.com/modules/Forums/cache/images/js/srjbsv.html tuttinudi] [http://www.sibernews.com/cache/images/js/epmemf.html Ombrellone snodo] [http://www.grammateas.gr/gr/language/lang_english/images/js/lheqcw.html Pubblicita deodorante] [http://www.grammateas.gr/gr/language/lang_english/images/js/mepgol.html Gay strip] [http://www.sibernews.com/cache/images/js/cxvhai.html Senewebcom] [http://www.grammateas.gr/gr/language/lang_english/images/js/xdsogu.html Foto sexy] [http://www.bhdstats.foxspecialops.com/maps/images/js/xijmmn.html Bocchino amatoriali] [http://www.grammateas.gr/gr/language/lang_english/images/js/cbworl.html Distributori automatici snack] [http://www.grammateas.gr/gr/language/lang_english/images/js/qrkvhp.html Caravelle] [http://www.grammateas.gr/gr/language/lang_english/images/js/kxjanf.html Trampi it] [http://www.electrodrome.net/modules/Forums/cache/images/js/lfdsdp.html Video asia d argento] [http://www.grammateas.gr/gr/language/lang_english/images/js/njwjbp.html Fiat panda] [http://www.bhdstats.foxspecialops.com/maps/images/js/sqqxre.html Meteo previsioni satellite] [http://www.bhdstats.foxspecialops.com/maps/images/js/krgtjg.html Www sexyvip tv] [http://www.futurenuke.com/games/images/js/xuonhe.html Prestito villafranca d asti] [http://www.sibernews.com/cache/images/js/frflul.html Canon digital ixus i] [http://www.bhdstats.foxspecialops.com/maps/images/js/hnaovs.html Folletto vorwerk] [http://www.aka-execution.com/modules/Forums/cache/images/js/eolrio.html Gloryhole gallery] [http://www.aka-execution.com/modules/Forums/cache/images/js/ojuxdc.html Female domination] [http://www.sibernews.com/cache/images/js/udtbfh.html Voli savona] [http://www.grammateas.gr/gr/language/lang_english/images/js/vcrfio.html Casalinghe maggiorate] [http://www.sicman.org/components/images/js/bcjetm.html Albergo economici lisbona] [http://www.bhdstats.foxspecialops.com/maps/images/js/bequvq.html Promozioni auto nuove] [http://www.bhdstats.foxspecialops.com/maps/images/js/rtgcau.html Voli economici thailandia] [http://www.electrodrome.net/modules/Forums/cache/images/js/sijudj.html La casa dalle finestra che ridono] [http://www.electrodrome.net/modules/Forums/cache/images/js/ugjtbp.html Colorare disegni per bambini] [http://www.imminent-threat.com/files/images/js/eplbnp.html Natura romanticismo] [http://www.bhdstats.foxspecialops.com/maps/images/js/pvhhft.html Casalinghe amatoriali] [http://www.rapidairsoft.hu/components/images/js/kssgdo.html Bicocca] [http://www.futurenuke.com/games/images/js/ffxctr.html Grammatica online] [http://www.sibernews.com/cache/images/js/fttdps.html Sexi video] [http://www.sibernews.com/cache/images/js/nonjiw.html Nudo di maschio] [http://www.rapidairsoft.hu/components/images/js/gnngwf.html Copertina ita ps2] [http://www.futurenuke.com/games/images/js/udljtu.html Studentesse puttane] [http://www.electrodrome.net/modules/Forums/cache/images/js/wtrtim.html Donne vogliose video] [http://www.bhdstats.foxspecialops.com/maps/images/js/amgcuk.html Stabilizzatore ottico sony foto camera] [http://www.rapidairsoft.hu/components/images/js/gcttgc.html Rulliere nastro trasportatori] [http://www.bhdstats.foxspecialops.com/maps/images/js/knhjuk.html Albergo sydney] [http://www.bhdstats.foxspecialops.com/maps/images/js/ndfpjv.html Shyla stylez mr big dick s hot chick hot] [http://www.grammateas.gr/gr/language/lang_english/images/js/dmnfix.html Ainett stephens calendario] [http://www.sibernews.com/cache/images/js/pbavtt.html Crea nomi glitterati] [http://www.grammateas.gr/gr/language/lang_english/images/js/noijjp.html Ciccione nude gratis] [http://www.futurenuke.com/games/images/js/lhswkj.html Caminetto esterno] [http://www.futurenuke.com/games/images/js/eihjmm.html Foto porno disney] [http://www.sibernews.com/cache/images/js/dsfeud.html Gulliver concorso rcs it] [http://www.sicman.org/components/images/js/ffqjae.html Aldo carpi] [http://www.bhdstats.foxspecialops.com/maps/images/js/crpgvd.html Ragazze nude tedesche] [http://www.aka-execution.com/modules/Forums/cache/images/js/rwqotn.html Crociera it] [http://www.futurenuke.com/games/images/js/fwkvcs.html Sexy bikini model] [http://www.bhdstats.foxspecialops.com/maps/images/js/ptqdav.html Congelatore verticale alaska] [http://www.bhdstats.foxspecialops.com/maps/images/js/tpkpkw.html Weight watchers] [http://www.sibernews.com/cache/images/js/qqwmjx.html Giordania] [http://www.grammateas.gr/gr/language/lang_english/images/js/ekoucg.html Nikki blond] [http://www.futurenuke.com/games/images/js/exsutl.html Acquisto personal computer] [http://www.electrodrome.net/modules/Forums/cache/images/js/pfucmk.html Modem adsl router wireless] [http://www.imminent-threat.com/files/images/js/rldgjh.html Incontri campania] [http://www.futurenuke.com/games/images/js/uirawp.html Licata] [http://www.bhdstats.foxspecialops.com/maps/images/js/urfdfs.html Foto mature hard] [http://www.electrodrome.net/modules/Forums/cache/images/js/vjrgaq.html Peuterey abbigliamento] [http://www.electrodrome.net/modules/Forums/cache/images/js/nhrhid.html Video justine mattera] [http://www.electrodrome.net/modules/Forums/cache/images/js/cuksbx.html Calcio storia] [http://www.aka-execution.com/modules/Forums/cache/images/js/xjstwi.html Decathlon it] [http://www.rapidairsoft.hu/components/images/js/kxghkg.html Modem asus isdn] [http://www.sibernews.com/cache/images/js/kusmqv.html Annuncio cuori solitari] [http://www.electrodrome.net/modules/Forums/cache/images/js/ahvonu.html Elisabetta ferri nuda] [http://www.sibernews.com/cache/images/js/sabepo.html Foto donne amatoriali] [http://www.grammateas.gr/gr/language/lang_english/images/js/helfbn.html Apartment dallas rental uptown] [http://www.sibernews.com/cache/images/js/slamkl.html Monte conero] [http://www.electrodrome.net/modules/Forums/cache/images/js/ncujxr.html Significato rosa blu] [http://www.grammateas.gr/gr/language/lang_english/images/js/aifeov.html Loredana lecciso nuda] [http://spiderman2.fewest.cn/ spiderman 2] [http://alr.bawds.cn/ al r] [http://dwlg122.bawds.cn/ dwl g122] [http://scarpedasposa.frowns.cn/ scarpe da sposa] [http://seaglider.pahes.cn/ sea glider] [http://bounceblue.pahes.cn/ bounce blue] [http://nikon70300mm.bawds.cn/ nikon 70 300 mm] [http://lesliesob.frowns.cn/ leslie sob] [http://lovebugs.pahes.cn/ love bugs] [http://ferroasecco.frowns.cn/ ferro a secco] [http://helen.pahes.cn/ helen] [http://laciesafe.bawds.cn/ lacie safe] [http://classroom2.pahes.cn/ classroom2] [http://bmwtouring330xd.napes.cn/ bmw touring 330xd] [http://photosofandrea.fewest.cn/ photos of andrea] [http://teeniesexxx.pahes.cn/ teenie sexxx] [http://dec21.bawds.cn/ dec 21] [http://telecombasedect.napes.cn/ telecom base dect] [http://maxtorethernet.bawds.cn/ maxtor ethernet] [http://philips201b40.fewest.cn/ philips 201b40 21] [http://gunsnrosesmp3.fewest.cn/ guns n roses mp3] [http://acertm382tmi.pahes.cn/ acer tm 382tmi] [http://skiman.fewest.cn/ skiman] [http://x600proallinwonder.napes.cn/ x600 pro all in wonder] [http://catsong.fewest.cn/ catsong] [http://ligthmyfire.pahes.cn/ ligth my fire] [http://lcd3.fewest.cn/ lcd 3] [http://ased.fewest.cn/ ased] [http://geforcefx5500.fewest.cn/ geforce fx5500 256mb] [http://tvsunotebook.frowns.cn/ tv su notebook] [http://beatlestab.fewest.cn/ beatles tab] [http://babalawo.pahes.cn/ babalawo] [http://azsanyo.bawds.cn/ az sanyo] [http://suomi24fi.fewest.cn/ suomi24 fi] [http://funysexcats.frowns.cn/ funy sex cats] [http://asusa4l.bawds.cn/ asus a4l] [http://yetysports2.bawds.cn/ yety sports 2] [http://epox9npa.fewest.cn/ epox 9npa] [http://screenplay5000.bawds.cn/ screenplay 5000] [http://mambo.fewest.cn/ mambo] [http://hempstead.napes.cn/ hempstead] [http://hiluxtoyota.pahes.cn/ hilux toyota] [http://napes.cn/index0_1333.html index] [http://theynotgona.pahes.cn/ they not gona get us] [http://teflon.fewest.cn/ teflon] [http://cortan.pahes.cn/ cortan] [http://hpt3030.frowns.cn/ hp t3030] [http://nokiapbx.pahes.cn/ nokia pbx] [http://fewest.cn/index0_500.html url] [http://eh53.pahes.cn/ eh 53] [http://mastercard.pahes.cn/ master card] [http://poohdvd.frowns.cn/ pooh dvd] [http://fewest.cn/ fewest.cn] [http://napes.cn/ napes.cn] [http://mp3apple.pahes.cn/ mp3 apple] [http://dadamocom.fewest.cn/ dadamo com] [http://bookert.bawds.cn/ booker t] [http://frowns.cn/index0_2000.html index] [http://wwwesmascommx.pahes.cn/ www esmas com mx] [http://voicetracerphilips.bawds.cn/ voice tracer philips] [http://duckhunt.napes.cn/ duck hunt] [http://videogfinglese.pahes.cn/ video gf inglese] [http://fraselaurea.frowns.cn/ frase laurea] [http://gruppoenergy.pahes.cn/ gruppo energy protector] [http://wwwogrischcom.bawds.cn/ www ogrisch com] [http://z750.bawds.cn/ z750] [http://recordoflodoss.bawds.cn/ record of lodoss war] [http://frowns.cn/index7_500.html link] [http://thebeatfleet.bawds.cn/ the beat fleet] [http://suba.bawds.cn/ suba] [http://clubsex.pahes.cn/ club sex] [http://juliestrain.frowns.cn/ julie strain] [http://zeuglodon.fewest.cn/ zeuglodon] [http://fewest.cn/index8_1333.html homepage] [http://topo.pahes.cn/ topo] [http://asusp5wd2premium.bawds.cn/ asus p5wd2 premium wifi tv] [http://gayhugecock.bawds.cn/ Gay huge cock] [http://mustekh140.bawds.cn/ mustek h140] [http://gasca.napes.cn/ gasca] [http://aspiraacqua.frowns.cn/ aspira acqua] [http://vascadabagno.bawds.cn/ vasca da bagno] [http://fewest.cn/ fewest.cn] [http://denudos.pahes.cn/ denudos] [http://etl2908104.bawds.cn/ et l2908 104] [http://necdvd.bawds.cn/ nec dvd] [http://rende.frowns.cn/ rende] [http://pahes.cn/index7_625.html site] [http://basketnba.napes.cn/ basket nba] [http://bosehifi.fewest.cn/ bose hi fi] [http://kennydrew.napes.cn/ kenny drew] [http://huy82.frowns.cn/ huy 82] [http://fra.bawds.cn/ fra] [http://wwwultrablue.frowns.cn/ w w w ultrablue cam] [http://wonderfulsea.frowns.cn/ wonderful sea] [http://cdcoverpooh.pahes.cn/ cd cover pooh] [http://fireman.pahes.cn/ fire man] [http://dvdahangingrock.fewest.cn/ dvd a hanging rock] [http://smartforfour.napes.cn/ smart forfour] [http://dragosteadontei.frowns.cn/ dragostea don tei] [http://anniversary.pahes.cn/ anniversary party] 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.
Line 50: Line 50:


I personally haven't used it. Would be used in parsing a page by hand.
I personally haven't used it. Would be used in parsing a page by hand.
== Regular expressions ==
Finally! As of this moment, every single function has a page on this wiki except for the regular expression functions. ''(Much cheering!)'' Part of the problem with making pages for them is that a whole ream of background information is necessary to use them. I can see several approaches that we can take to this. I hope that we can discuss which tact to take:
#Create a new category and page for regular expressions where we discuss how to use them in detail.
#At the top of the Regular expressions section on this page, we post a link to another site that discusses how to use them. Obviously this is easiest. Then we assume that information is understood by the reader.
#* http://www.regular-expressions.info/
#* http://java.sun.com/docs/books/tutorial/essential/regex/index.html
#Assume information about the nature of regular expressions and how to use regular expression functions is both known and just discuss the specifics of each function.
Personally, I favor creating a page for regular expressions which starts with a link to a site that explains how to create regular expressions. Then the page explains how they can be used in ash.
--[[User:Bale|Bale]] 10:01, 6 May 2010 (UTC)
I'm leaning toward not adding in another category on the main page; it's getting cluttered as-is. However, I'm 100% the idea of linking to a dedicated page with more info & links. For the user comfortable with regex, they can go to the strings page and just follow links. For others, they can go to the regex page first. However, I'm not a programmer, so I don't know if most would consider regex to be a sub-set of string handling, or its own category. I'd go by whatever is considered "standard" for that.
If we go with complete separation, I'd probably want to have a link to said page on the string handling page, and perhaps not even include it on the Main Page. I dunno. Honestly, I'm fine leaving this to whoever feels comfortable enough with regex to add said function pages.
Whichever approach is taken, I agree that we shouldn't include all of the background info on each page. Matche(r)s, groups, etc. should be briefly defined on their specific pages, but otherwise left to a general description page or assumed to be known with references provided (on the category / sub-category page). Explaining each concept on every page is a bit absurd. (It would be like giving a definition of string on every function page that accepts a parameter of or returns a string; we have other "general info" pages for this reason.)
Also, congrats & thanks on reaching this major milestone! --[[User:StDoodle|StDoodle (#1059825)]] 15:48, 6 May 2010 (UTC)
* Good points. Regexp are a subset of string handling so we can keep them on that page, but link to a page of regexp information at the top of the regexp page. If we decide to have regexp information on this site. That would be a pretty good solution. How much detail should we go into on the regexp page? Just basic information and a few links for the user to learn more? Or just assume that they are understood as well as string? --[[User:Bale|Bale]] 21:11, 6 May 2010 (UTC)
The way you're currently going with is is a.o.k. by me. I wouldn't add too much to the dedicated page; I'd prefer additional tutorials & reference material to "original" content, for the most part. Mostly 'cause I see people fitting into the following groups re: regex;
* Those who will never get it; it doesn't matter what we do for this group
* Those who already get it; again, doesn't matter what we do
* Those who are capable of getting it, given adequate info
** Adequate is, for the most of people in this category, going to be far more than we really want to get in to (I know some people who are very comfortable with regex who STILL keep a cheat-cheat or bookmark for some stuff)
** I don't want to spend 1k wiki-hours (that's an official metric now, dontchaknow?) on stuff that's been done well elsewhere when there's a lot of mafia (non-ash) stuff left to document; priorities, bang-for-your-buck, etc.
So yeah, keep up what you're doing basically. Flesh out quick coverage of the basics on the Regex page, add more links if you find ones that may also be helpful, but beyond that, don't worry too much about it. --[[User:StDoodle|StDoodle (#1059825)]] 04:09, 7 May 2010 (UTC)
Edit to add:
There is one minor additional note. As you note on the Regex page & I've seen elsewhere, ash regex is just a wrapper for java regex. As such, there's absolutely no reason to cover the same ground (I'm fairly sure java has better documentation resources than mafia :P ) EXCEPT it might be nice to give some "advanced info" that points out exactly how the ash equivalents map to their java counterparts. This isn't high-priority, but is the only thing beyond links and very basic coverage that I can see being worthwhile. --[[User:StDoodle|StDoodle (#1059825)]] 04:12, 7 May 2010 (UTC)
Do you think I'm adding too much detail? Should I trim back and rely on off-site tutorials? I think you can see right now about how much of a skim through regexes I'm planning to do. Should I skip it? --[[User:Bale|Bale]] 04:37, 7 May 2010 (UTC)
Well, first and foremost, don't worry a whole lot about having too much info, as long as it's accurate. I'm just saying that at the point that it stops flowing naturally and you have to stop and think hard about it, skim over the rest and point to tutorials. If the biggest flaw in this wiki ends up being that it duplicates information that can be learned elsewhere, I'll be able to live with that. --[[User:StDoodle|StDoodle (#1059825)]] 06:17, 7 May 2010 (UTC)
* LOL! Very philosophical of you. ^_^ --[[User:Bale|Bale]] 06:40, 7 May 2010 (UTC)

Latest revision as of 06:40, 7 May 2010

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.


Regular expressions

Finally! As of this moment, every single function has a page on this wiki except for the regular expression functions. (Much cheering!) Part of the problem with making pages for them is that a whole ream of background information is necessary to use them. I can see several approaches that we can take to this. I hope that we can discuss which tact to take:

  1. Create a new category and page for regular expressions where we discuss how to use them in detail.
  2. At the top of the Regular expressions section on this page, we post a link to another site that discusses how to use them. Obviously this is easiest. Then we assume that information is understood by the reader.
  3. Assume information about the nature of regular expressions and how to use regular expression functions is both known and just discuss the specifics of each function.

Personally, I favor creating a page for regular expressions which starts with a link to a site that explains how to create regular expressions. Then the page explains how they can be used in ash. --Bale 10:01, 6 May 2010 (UTC)

I'm leaning toward not adding in another category on the main page; it's getting cluttered as-is. However, I'm 100% the idea of linking to a dedicated page with more info & links. For the user comfortable with regex, they can go to the strings page and just follow links. For others, they can go to the regex page first. However, I'm not a programmer, so I don't know if most would consider regex to be a sub-set of string handling, or its own category. I'd go by whatever is considered "standard" for that.

If we go with complete separation, I'd probably want to have a link to said page on the string handling page, and perhaps not even include it on the Main Page. I dunno. Honestly, I'm fine leaving this to whoever feels comfortable enough with regex to add said function pages.

Whichever approach is taken, I agree that we shouldn't include all of the background info on each page. Matche(r)s, groups, etc. should be briefly defined on their specific pages, but otherwise left to a general description page or assumed to be known with references provided (on the category / sub-category page). Explaining each concept on every page is a bit absurd. (It would be like giving a definition of string on every function page that accepts a parameter of or returns a string; we have other "general info" pages for this reason.)

Also, congrats & thanks on reaching this major milestone! --StDoodle (#1059825) 15:48, 6 May 2010 (UTC)

  • Good points. Regexp are a subset of string handling so we can keep them on that page, but link to a page of regexp information at the top of the regexp page. If we decide to have regexp information on this site. That would be a pretty good solution. How much detail should we go into on the regexp page? Just basic information and a few links for the user to learn more? Or just assume that they are understood as well as string? --Bale 21:11, 6 May 2010 (UTC)


The way you're currently going with is is a.o.k. by me. I wouldn't add too much to the dedicated page; I'd prefer additional tutorials & reference material to "original" content, for the most part. Mostly 'cause I see people fitting into the following groups re: regex;

  • Those who will never get it; it doesn't matter what we do for this group
  • Those who already get it; again, doesn't matter what we do
  • Those who are capable of getting it, given adequate info
    • Adequate is, for the most of people in this category, going to be far more than we really want to get in to (I know some people who are very comfortable with regex who STILL keep a cheat-cheat or bookmark for some stuff)
    • I don't want to spend 1k wiki-hours (that's an official metric now, dontchaknow?) on stuff that's been done well elsewhere when there's a lot of mafia (non-ash) stuff left to document; priorities, bang-for-your-buck, etc.

So yeah, keep up what you're doing basically. Flesh out quick coverage of the basics on the Regex page, add more links if you find ones that may also be helpful, but beyond that, don't worry too much about it. --StDoodle (#1059825) 04:09, 7 May 2010 (UTC)

Edit to add:

There is one minor additional note. As you note on the Regex page & I've seen elsewhere, ash regex is just a wrapper for java regex. As such, there's absolutely no reason to cover the same ground (I'm fairly sure java has better documentation resources than mafia :P ) EXCEPT it might be nice to give some "advanced info" that points out exactly how the ash equivalents map to their java counterparts. This isn't high-priority, but is the only thing beyond links and very basic coverage that I can see being worthwhile. --StDoodle (#1059825) 04:12, 7 May 2010 (UTC)

Do you think I'm adding too much detail? Should I trim back and rely on off-site tutorials? I think you can see right now about how much of a skim through regexes I'm planning to do. Should I skip it? --Bale 04:37, 7 May 2010 (UTC)

Well, first and foremost, don't worry a whole lot about having too much info, as long as it's accurate. I'm just saying that at the point that it stops flowing naturally and you have to stop and think hard about it, skim over the rest and point to tutorials. If the biggest flaw in this wiki ends up being that it duplicates information that can be learned elsewhere, I'll be able to live with that. --StDoodle (#1059825) 06:17, 7 May 2010 (UTC)

  • LOL! Very philosophical of you. ^_^ --Bale 06:40, 7 May 2010 (UTC)