Difference between revisions of "Talk:String Handling Routines"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
 
(42 intermediate revisions by 24 users not shown)
Line 1: Line 1:
[http://irina5009189.idilis.ro/employee-recruitment/ employee recruitment video] [http://lisonka-91.idilis.ro/ac-drive/ ac drive europe in market report research] [http://shurrikk.idilis.ro/web/quick-fix.html quick fix loan paycheck advance] [http://shurrikk.idilis.ro/web/express-payday.html express payday loan] [http://lisonka-91.idilis.ro/diapers/ diapers] [http://ronald180.idilis.ro/library/medical-terminology/ medical terminology] [http://ann-eva.idilis.ro/web/chronoswiss-watch.html chronoswiss watch] [http://irina5009189.idilis.ro/away-message/ away message quotes] [http://shurrikk.idilis.ro/web/trim-kid.html trim kid] [http://ronald180.idilis.ro/library/asian-babes/ asian babes] [http://irina5009189.idilis.ro/wholesale-floating/ wholesale floating candle] [http://ronald180.idilis.ro/library/years-of/ years of college down the drain] [http://shurrikk.idilis.ro/web/california-colleges.html california colleges] [http://irina5009189.idilis.ro/audit-program/ audit program for employee benefit] [http://ronald180.idilis.ro/library/wheels-and/ wheels and tires] [http://irina5009189.idilis.ro/janitorial-supplies/ janitorial supplies cherry almond] [http://irina5009189.idilis.ro/credit-counselors/ credit counselors] [http://lisonka-91.idilis.ro/airport-logan/ airport logan map] [http://ann-eva.idilis.ro/web/free-forex.html free forex online training video] [http://shurrikk.idilis.ro/web/ken-mar.html ken mar] [http://ronald180.idilis.ro/library/mini-choppers/ mini choppers] [http://ann-eva.idilis.ro/web/i-heard.html i heard em say lyrics] [http://shurrikk.idilis.ro/web/simpson.html simpson] [http://shurrikk.idilis.ro/web/international-calling.html international calling card] [http://ann-eva.idilis.ro/web/lay-down.html lay down with me tell me no lies lyrics] [http://ronald180.idilis.ro/library/verizon-wireless/ verizon wireless account] [http://lisonka-91.idilis.ro/alturas/ alturas] [http://shurrikk.idilis.ro/web/lescol.html lescol] [http://lisonka-91.idilis.ro/picture-of/ picture of split rock light house] [http://ronald180.idilis.ro/library/freescreensaver/ freescreensaver] [http://ronald180.idilis.ro/library/free-cell/ free cell phone ringtones] [http://shurrikk.idilis.ro/web/i-love.html i love you art pictures] [http://lisonka-91.idilis.ro/employment-in/ employment in san antonio texas] [http://irina5009189.idilis.ro/music-used/ music used in movie] [http://ann-eva.idilis.ro/web/aol-free.html aol free virus protection] [http://irina5009189.idilis.ro/sexual-love/ sexual love quizzes] [http://shurrikk.idilis.ro/web/sexy-young.html sexy young girl pics] [http://ann-eva.idilis.ro/web/kelley-blue.html kelley blue book used car price] [http://irina5009189.idilis.ro/lcd-monitor/ lcd monitor] [http://ann-eva.idilis.ro/web/meant-each.html meant each] [http://irina5009189.idilis.ro/virtual-server/ virtual server service pack] [http://ann-eva.idilis.ro/web/alligator-florida.html alligator florida photo] [http://ronald180.idilis.ro/library/philips-mp/ philips mp3] [http://lisonka-91.idilis.ro/abbeys/ abbeys] [http://irina5009189.idilis.ro/add-com/ add com port to windows xp] [http://ronald180.idilis.ro/library/party-sex/ party sex galleries] [http://irina5009189.idilis.ro/san-andreas/ san andreas cheats and codes for xbox] [http://shurrikk.idilis.ro/web/lottery.html lottery] [http://ann-eva.idilis.ro/web/s-silent.html 1920s silent movies] [http://lisonka-91.idilis.ro/today-is/ today is the day song] [http://lisonka-91.idilis.ro/clonidine/ clonidine] [http://ann-eva.idilis.ro/web/vicerex.html vicerex] [http://lisonka-91.idilis.ro/can-crusher/ can crusher] [http://ann-eva.idilis.ro/web/whole-life.html whole life health] [http://shurrikk.idilis.ro/web/tow-truck.html tow truck chicago] [http://ann-eva.idilis.ro/web/playing-music.html playing music on psp] [http://ann-eva.idilis.ro/web/inland-homes.html inland homes] [http://ronald180.idilis.ro/library/what-is/ what is java programming] [http://lisonka-91.idilis.ro/rj-safety/ rj safety] [http://ronald180.idilis.ro/library/adaware-se/ adaware se professional serial] [http://irina5009189.idilis.ro/mba-letter/ mba letter of recommendation] [http://ronald180.idilis.ro/library/humulin-n/ humulin n insulin] [http://shurrikk.idilis.ro/web/monopoly-.html monopoly 3 activation code] [http://ronald180.idilis.ro/library/clitoris-orgasm/ clitoris orgasm] [http://ronald180.idilis.ro/library/artist-music/ artist music news] [http://shurrikk.idilis.ro/web/hall-rental.html hall rental] [http://ronald180.idilis.ro/library/planet-of/ planet of lust] [http://ann-eva.idilis.ro/web/iq-scales.html iq scales] [http://shurrikk.idilis.ro/web/pagination-code.html pagination code] [http://ronald180.idilis.ro/library/i-dont/ i dont know how to love him midi] [http://ronald180.idilis.ro/library/retailer-of/ retailer of the year] [http://lisonka-91.idilis.ro/old-spanish/ old spanish movies] [http://shurrikk.idilis.ro/web/andrew-k.html andrew k fletcher] [http://ronald180.idilis.ro/library/standard-weights/ standard weights and measurements] [http://ann-eva.idilis.ro/web/walt-disneys.html walt disneys animation entertainment] [http://irina5009189.idilis.ro/top-italian/ top italian restaurants in philadelphia] [http://ronald180.idilis.ro/library/video-of/ video of chicken little] [http://ronald180.idilis.ro/library/cheapest-airfares/ cheapest airfares] [http://ann-eva.idilis.ro/web/philips-bulbs.html philips bulbs] [http://shurrikk.idilis.ro/web/wisconsin-driver.html wisconsin driver test] [http://ann-eva.idilis.ro/web/insert-html.html insert html email image] [http://ronald180.idilis.ro/library/office-automation/ office automation equipments] [http://lisonka-91.idilis.ro/upper-respiratory/ upper respiratory infections] [http://lisonka-91.idilis.ro/suncom-wireless/ suncom wireless] [http://ronald180.idilis.ro/library/landing-pier/ landing pier point] [http://lisonka-91.idilis.ro/hugo-boss/ hugo boss] [http://ronald180.idilis.ro/library/what-is/ what is latitude and longitude] [http://ann-eva.idilis.ro/web/new-album.html new album releases for 2005] [http://lisonka-91.idilis.ro/the-dead/ the dead case password] [http://ann-eva.idilis.ro/web/credit-card.html credit card companies] [http://irina5009189.idilis.ro/pictures-of/ pictures of french maids] [http://irina5009189.idilis.ro/the-earth/ the earth and its people 3rd edition] [http://irina5009189.idilis.ro/a-labeled/ a labeled fish] [http://shurrikk.idilis.ro/web/www-western.html www western union money transfer] [http://ann-eva.idilis.ro/web/salon-reception.html salon reception desk] [http://lisonka-91.idilis.ro/knit-tops/ knit tops tees] [http://lisonka-91.idilis.ro/sram-chains/ sram chains] [http://lisonka-91.idilis.ro/waterloo-mall/ waterloo mall] [http://irina5009189.idilis.ro/littleboys/ littleboys] [http://lisonka-91.idilis.ro/pumping-partys/ pumping partys] [http://ann-eva.idilis.ro/web/something-for.html something for a laugh] [http://ronald180.idilis.ro/library/orgias-anal/ orgias anal] [http://shurrikk.idilis.ro/web/designer-dress.html designer dress sale wedding] [http://ann-eva.idilis.ro/web/ask-jeeves.html ask jeeves] [http://irina5009189.idilis.ro/woods-hole/ woods hole research centre] [http://lisonka-91.idilis.ro/the-kitty/ the kitty litter] [http://ann-eva.idilis.ro/web/audit-income.html audit income tax] [http://shurrikk.idilis.ro/web/spyware-download.html spyware download] [http://ann-eva.idilis.ro/web/accessory-camera.html accessory camera digital hp] [http://ann-eva.idilis.ro/web/vt-boston.html vt boston college] [http://irina5009189.idilis.ro/psychological-and/ psychological and emotional health] [http://lisonka-91.idilis.ro/anty/ anty] [http://ronald180.idilis.ro/library/playboy-bunny/ playboy bunny layouts] [http://ann-eva.idilis.ro/web/poison-band.html poison band photos] [http://lisonka-91.idilis.ro/wells-fargo/ wells fargo stock purchase plan] [http://ann-eva.idilis.ro/web/fucking-pregnant.html fucking pregnant] [http://shurrikk.idilis.ro/web/abuse-women.html abuse women] [http://ann-eva.idilis.ro/web/quixtar.html quixtar] [http://irina5009189.idilis.ro/party-porn/ party porn swinger] [http://shurrikk.idilis.ro/web/metodos-de.html metodos de aprendizaje] [http://irina5009189.idilis.ro/horny-house/ horny house wives] [http://shurrikk.idilis.ro/web/steven-tyler.html steven tyler] [http://shurrikk.idilis.ro/web/man-over.html man over 55] [http://shurrikk.idilis.ro/web/david-bisbal.html david bisbal] [http://lisonka-91.idilis.ro/saint-john/ saint john maps] [http://ann-eva.idilis.ro/web/tattoos.html tattoos] [http://ronald180.idilis.ro/library/sexual-enhancement/ sexual enhancement] [http://ann-eva.idilis.ro/web/magic-jumps.html magic jumps] [http://irina5009189.idilis.ro/beef-jerky/ beef jerky] [http://ann-eva.idilis.ro/web/skelaxin-online.html skelaxin online] [http://irina5009189.idilis.ro/electric-scooter/ electric scooter sale] [http://lisonka-91.idilis.ro/japanese-movie/ japanese movie nurse porn] [http://ronald180.idilis.ro/library/metal-roof/ metal roof insulation] [http://lisonka-91.idilis.ro/sleep-apnea/ sleep apnea symptoms treatment] [http://lisonka-91.idilis.ro/irish-dancing/ irish dancing birmingham] [http://ann-eva.idilis.ro/web/health-and.html health and safety] [http://lisonka-91.idilis.ro/paul-smith/ paul smith watch] [http://ronald180.idilis.ro/library/air-travel/ air travel last minute deal] [http://lisonka-91.idilis.ro/dv-in/ dv in out] [http://irina5009189.idilis.ro/stacy-london/ stacy london] [http://lisonka-91.idilis.ro/rambo-ii/ rambo ii] [http://lisonka-91.idilis.ro/chaussures/ chaussures] [http://shurrikk.idilis.ro/web/crystal-carlson.html crystal carlson] [http://irina5009189.idilis.ro/arizona-softball/ arizona softball schedule] [http://lisonka-91.idilis.ro/wooden-handles/ wooden handles for fan] [http://shurrikk.idilis.ro/web/egypt-land.html egypt land area] [http://shurrikk.idilis.ro/web/nissan-skyline.html nissan skyline models] [http://irina5009189.idilis.ro/priceless/ priceless] [http://ronald180.idilis.ro/library/motorola-blue/ motorola blue tooth headset manual] [http://ronald180.idilis.ro/library/jimny-suzuki/ jimny suzuki] [http://shurrikk.idilis.ro/web/ml.html 350ml] [http://shurrikk.idilis.ro/web/true-love.html true love game] [http://irina5009189.idilis.ro/nude-katie/ nude katie holmes] [http://irina5009189.idilis.ro/calcium/ calcium] [http://ronald180.idilis.ro/library/male-black/ male black gay man] [http://shurrikk.idilis.ro/web/ar.html ar15] [http://lisonka-91.idilis.ro/ici-deluxe/ ici deluxe paint] [http://shurrikk.idilis.ro/web/in-from.html in from the storm] [http://ronald180.idilis.ro/library/send-me/ send me spam] [http://ann-eva.idilis.ro/web/amway.html amway] [http://ann-eva.idilis.ro/web/water-and.html water and power credit] [http://lisonka-91.idilis.ro/adobe-reader/ adobe reader 60 free download] [http://ronald180.idilis.ro/library/podcast-radio/ podcast radio stations] [http://lisonka-91.idilis.ro/grits-and/ grits and eggs ringtones com] [http://lisonka-91.idilis.ro/perspectives-makeup/ perspectives makeup] [http://shurrikk.idilis.ro/web/timeshare-apartments.html timeshare apartments for sell italy] [http://shurrikk.idilis.ro/web/elevator-co.html elevator co ltd] [http://ann-eva.idilis.ro/web/amp-meter.html amp meter dc] [http://shurrikk.idilis.ro/web/magazine-remix.html magazine remix] [http://ronald180.idilis.ro/library/social-security/ social security district offices] [http://irina5009189.idilis.ro/motorway-maps/ motorway maps england] [http://ronald180.idilis.ro/library/printers/ printers] [http://ronald180.idilis.ro/library/mc-callum/ mc callum house] [http://ronald180.idilis.ro/library/mangosteen-for/ mangosteen for sinus problems] [http://ann-eva.idilis.ro/web/radio-station.html radio station business news iowa] [http://lisonka-91.idilis.ro/cheap-printer/ cheap printer] [http://lisonka-91.idilis.ro/bigtit/ bigtit] [http://irina5009189.idilis.ro/guardian-generators/ guardian generators rv] [http://irina5009189.idilis.ro/att-conference/ att conference call set up] [http://ann-eva.idilis.ro/web/beautiful-arab.html beautiful arab girls] [http://irina5009189.idilis.ro/emirates-airline/ emirates airline] [http://lisonka-91.idilis.ro/free-movie/ free movie xxx] [http://lisonka-91.idilis.ro/chronic-alcoholism/ chronic alcoholism] [http://lisonka-91.idilis.ro/rhianna/ rhianna] [http://irina5009189.idilis.ro/i-remember/ i remember you lyric] [http://ronald180.idilis.ro/library/game-cartoon/ game cartoon] [http://shurrikk.idilis.ro/web/crosscheck.html crosscheck] [http://shurrikk.idilis.ro/web/squirt-movies.html squirt movies] [http://ann-eva.idilis.ro/web/email-marketing.html email marketing software] [http://ronald180.idilis.ro/library/spice-one/ spice one] [http://ann-eva.idilis.ro/web/kind-words.html kind words for children] [http://shurrikk.idilis.ro/web/web-cams.html web cams] [http://ann-eva.idilis.ro/web/psychedelic-band.html psychedelic band posters] [http://shurrikk.idilis.ro/web/longevity-information.html longevity information] [http://shurrikk.idilis.ro/web/buy-pharmacy.html buy pharmacy online] [http://lisonka-91.idilis.ro/mechanism-of/ mechanism of antibiotic resistance] [http://irina5009189.idilis.ro/stripe-shirt/ stripe shirt guy] [http://shurrikk.idilis.ro/web/at-the.html at the end of saw 2] [http://ronald180.idilis.ro/library/birthday-games/ birthday games] [http://lisonka-91.idilis.ro/stripper/ stripper] 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)