Difference between revisions of "Talk:String Handling Routines"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
 
(53 intermediate revisions by 31 users not shown)
Line 1: Line 1:
[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)