Hehe, strange isn't it? Perhaps I have some explaining to do...
=)
The original plan was to show an animated GIF of a regex
matching as an instructional aid, but I decided
to do something more abstract (and less practical) because... ... umm... Yeah.
You'll notice there are hidden messages such as:
- regex Pr\n. (noun) - regex pr0n? How lewd!
- pm, pl (as in Perl)
- ... (fill in the rest, hint: what OS do you (have to) love?)
So just incase you thought you were being brainwashed, you are. Thank the political adverts for this idea. :) heh-heh-heh, "Excellennnttt... it's
only a matter of time now." <evil laughter>
This regex should parse/match most variants of the word 'regex' including:
- regex - \n.\ (root word), defined here.
- regexes, regexen - \n. pl.\ "I have two very readable regexen."; "Perlmonks saint: I thought regexes where suppose to be hard!"
- regexens - \n. pl.\ slang, regexen variant.
- regex - \v. present tense\
- regexes - \v. present participle third person\ - "He who regexes..."
- regexer - \n.\ One who regexes.
- regexers - \n. pl.\ - "Perl users become avid regexers as they find how it really improves the readability of their code."
- regexed - \v. past tense\ - "I have regexed for the good of the country."
Special cases:
- regexing ($3) - \v. pp.\ - "Regexing for the benefit of newbies."
- regexp ($1) - \n.\ Evil black sheep form, that _LOTS of people STILL use_ damnit. (Peer pressure persuades us from using this form.)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.