Skip to main content

regular expression 

A text string pattern matching mechanism. Usually applied to individual lines of text, such as from a simple text file, where the regular expression (sometimes abbreviated as RE) pattern can be used to precisely specify which lines ought to match and which shouldn't. The more complicated REs may look very confusing to people who don't know them, as they look more like a random string of letters and other characters without any obvious meaning.

Commonly they're enclosed between slashes (/like this/), because that's how they were used in many ancient Unix tools. They can also be used for text substitution, for example with the s/ construct. A common operator specifying that a RE will follow is the tilde (~).

The Perl language makes heavy use of regular expressions, and the grep tool also searches by REs. SED and AWK are some older tools also using REs.

REs come in two forms: Basic REs and Extended REs, varying slightly in syntax and possible contructs. Perl extens the Extended REs even further and has defined the standard "Perl Compatible REs" (PCRE).
"some example string" =~ /^s*.*e+.*(?:x.* )?.*?g$/
result: 1 (because the regular expression between the // matches the string)
regular expression mug front
Get the regular expression mug.
See more merch

Regular expression 

An expression which is just regular, not special, emotionless, but true.
/(Regular) (expression)/ is a /$1 $2/.
See regular expression for a proper use.

Today, the sun is shining, it is a sunny day today!

Butterfly is an insect.

True is not false.

Beautiful flowers have short lives.
Regular expression by pieceocake December 4, 2012

cornholio 

Ruler of Lake Titicaca. Rumored to have a bunghole that gets very angry if it does not receive toilet paper. Cornholio the Great is often seen walking around with his shirt over his head and his hands in the air, chanting songs about his power, and his bunghole.
"I am Cornholio! You do not want to face the wrath of my bunghole, for I need TP!"
Butthead: Shut up, Beavis! (uh huh huh huh)
Beavis: Um, okay. (heh heh heh heh).
cornholio by AYB July 20, 2003
Word of the Day on July 9, 2026

mickey mousing

In a movie, when the music is syncronized perfectly with the action, just like a mickey mouse cartoon.
Mickey mousing is used in the shower scene of Psycho
Word of the Day on July 8, 2026

Haram ball

A terrible style of football which is used to win games. Usually used when a team faces a better opponent and will get 11 players behind the ball.
Diego Simeone has mastered the art of haram ball. Atletico Madrid are the worst side to watch
Haram ball by Kuffarboy April 6, 2022
Word of the Day on July 7, 2026
excessive nice speech, the opposite of ragebaiting
adrian: i hope you have a nice day and never get sad!
enrique: joybait ❤️ 🩹🌹
Word of the Day on July 6, 2026

fudanshi 

Boys who enjoy yaoi (a genre in Japan that contains sexual and/or romantic relations between two men); literally translates to "rotten boy"; corresponding female : fujoshi
Alex blatantly displayed his fudanshi side to his friends.
fudanshi by Yuri Katsuki January 13, 2017
Word of the Day on July 5, 2026