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 by DJMoses May 27, 2009
Urban Dictionary Books
Your favorite words on things you can wear, drink from, read, or give to a friend.
The Urban Dictionary Store sells gifts you’ll have to explain.

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
More from Urban Dictionary

friend in law

an important friend of an important friend; your sister’s bff that you haven’t personally hung out with but know a lot about; that person your best friend won’t shut up about that you follow on instagram for long distance mutual emotional support
i’m so excited for henry to move to Amsterdam, that’s my friend in law fr!
friend in law by jdog_thebigdawg13 November 20, 2026
Word of the Day on November 20, 2026

after gta 6

A term people may use when certain events, occurences or milestones are achieved after the release of the game Grand Theft Auto VI by Rockstar Games. Used to mock the long wait of a certain event that hasn't happened before the release of the game.
Person 1: ''Arthur, we got enough money to get to Tahiti.''
Person 2: ''Really? Damn, we get to go to Tahiti after gta 6''
Person 1: ''Kept you waiting huh?''
after gta 6 by VanDerLindegng October 16, 2026
Word of the Day on November 19, 2026

single white female 

v: to imitate to the point of stalking. Based on the movie of the same name.
"Hey, this girl is single white femaling me. I can't get her off my back!"
single white female by jes October 22, 2003
Word of the Day on November 18, 2026

gambastate

A nation-state or subdivision of a nation-state which is highly dependant on gambling ("gamba") or its associated activities for its government spending, similar to petrostate
Monaco, Gibraltar, Nevada (US State), Macau (PRC SAR), Macau are all gambastates
gambastate by dontgamblekids November 17, 2026
Word of the Day on November 17, 2026

Sandwich Generation 

Those Baby Boomers sandwiched between the need to care for their dependent children and the responsibility of caring for their older parents. As noted by social researcher Mark McCrindle (www.mccrindle.com.au), this sandwich generation arises from the combined trends of delayed childbirth, the delayed financial independence of children, and the increasing life expectancy of the older generation.
"Still caring for kids and have your parents living with you? That would make you and your husband members of the Sandwich Generation."
Sandwich Generation by Wolfwoman September 12, 2009
Word of the Day on November 16, 2026
Load more