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)
by DJMoses May 27, 2009
mugGet the regular expression mug.

express-hole

A grocery shopper that has WAY more than ten items.
That express-hole has like twenty items in her cart!
by Joe's Girl December 1, 2005
mugGet the express-hole mug.

Expressionate

To be both expressive and passionate at the same time.
She was very expressionate when she argued with her husband.
by Margy737 September 1, 2010
mugGet the Expressionate mug.

nike express

Originated by teens without a car or means of transportation. It basicly means that if you go anywhere, you get there by foot; hence the term nike express.
All of my friends forgot to pick me up on their way to the mall, so I caught the nike express. see walk
by sg_kitty March 23, 2005
mugGet the nike express mug.

expressive pervert

A guy who expresses his sex life for the benefit of being "cool"
Jose: "Have you ever masturbated to a chicks Instagram?"
Matt: "Yeah bro, all the time!"
Jose: "Cool, well gtg watch some porn"
*meg hears convo*
Meg: "Fuckin expressive perverts!"
by yolobitch27 September 17, 2013
mugGet the expressive pervert mug.

Expressionable

Of, or relating to, the outward display of expression or emotion. Specifically when it proves Mike wrong.
Alphonso, not being very expressionable, easily goes unnoticed.
by BHoudini2 March 25, 2020
mugGet the Expressionable mug.

Expressionate

Being able to express your feelings in your face extremely well
My face is really expressionate
by Scary turtle May 22, 2020
mugGet the Expressionate mug.

Share this definition

Sign in to vote

We'll email you a link to sign in instantly.

Or

Check your email

We sent a link to

Open your email