Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Regex Fridge Code

by darksym (Beadle)
on Apr 18, 2002 at 02:00 UTC ( #160081=note: print w/replies, xml ) Need Help??

in reply to Regex Fridge Code

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.)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://160081]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2021-10-17 10:19 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (71 votes). Check out past polls.