Talk:1313: Regex Golf

Explain xkcd: It's 'cause you're dumb.
Revision as of 05:40, 6 January 2014 by Holshy (talk | contribs) (Created page with "This is fairly simple fun little one. Regex is sort for regular expressions. A regular expression is a series of characters that denotes a search criteria. For example, you c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is fairly simple fun little one.

Regex is sort for regular expressions. A regular expression is a series of characters that denotes a search criteria. For example, you could write a regular expression that would search for anything that looks like an address (a la comic 208).

Regex golf is a game in which you attempt to write a regular expression that will search through a list of items and bring back only those items that meet a certain criteria, but not anything else. The joke is that regular expressions are used to search text, but themselves are text strings. This means that you could write a regular expression that would look for another regular expression. You can then apply ad infinitum, and the universe implodes or something.

--Holshy (talk) 05:40, 6 January 2014 (UTC)