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).
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)
result: 1 (because the regular expression between the // matches the string)
by DJMoses May 27, 2009
Get the regular expression mug.1. When a female projectile ejaculates as the result of oral stimulation while on her period, resulting a strawberry-colored explosion, hence the name.
2. Simon's waffle
2. Simon's waffle
Jon: So, how was last night with Nicki?
Simon: Eh, it was ok
Jon: Why just ok?
Simon: Well it was goin alright until she had a fuckin strawberry explosion all over my face. It got in my eye!
Simon: Eh, it was ok
Jon: Why just ok?
Simon: Well it was goin alright until she had a fuckin strawberry explosion all over my face. It got in my eye!
by Cap'n Snatch April 7, 2008
Get the strawberry explosion mug.Related Words
A totally sweet ninja move that basically involves a bunch of ninja-like hand gestures to distract your current foe, then a swift kick to the nuts whilst they are distracted.
(you yelling) KARATE!!!
-insert wild hand gestures here-
EXPLOSION!!!!
*you run away swiftly to avoid a similar fate*
-insert wild hand gestures here-
EXPLOSION!!!!
*you run away swiftly to avoid a similar fate*
by cooleen August 29, 2005
Get the karate explosion mug.by cunnypro February 25, 2006
Get the corned beef explosion mug.
Get the Expressionate mug.noun. When internet folk add unnecessary letters to their words. It can pass with some girls or if using it as if you were speaking but normally they look as dumb as hair extensions.
A:Where were you?
B:At the Olive Garden where were u?
A:At the Olive Garden...wait which one did you go to?
B: The one on Mainstreet, thats where I said to go.
A: Ohhhhhhhhh
B: >:l
A: What? I just realized that I f***** up
B: Sorry I thought you were using word extensions, myyyy baddd
A: Youre so gay
B:At the Olive Garden where were u?
A:At the Olive Garden...wait which one did you go to?
B: The one on Mainstreet, thats where I said to go.
A: Ohhhhhhhhh
B: >:l
A: What? I just realized that I f***** up
B: Sorry I thought you were using word extensions, myyyy baddd
A: Youre so gay
by z1andonly July 7, 2010
Get the word extensions mug.An obnoxious vehicle, often a large truck or cheap sports car, driven by some men in an effort to compensate for something. Not all large trucks and cheap sports cars are penis extension vehicles (PEVs) - the key word is obnoxious, and how its driven is just as important as the vehicle itself. Signs of a PEV include: excessive loudness (and driving in a way to produce such loudness, such as peeling out), garish looking body or lift kits, artificial ballsacks, and Confederate flags. Usually driven by people under 23 or so, but can be driven by people of all ages.
Adam drives a Ford F350, but it's not loud and he drives it responsibly. It's not a penis extension vehicle.
Billy also drives a Ford F350, but it's had the mufflers removed, is lifted a foot, and he peels out every chance he gets. That's a penis extension vehicle.
Billy also drives a Ford F350, but it's had the mufflers removed, is lifted a foot, and he peels out every chance he gets. That's a penis extension vehicle.
by hoyclan May 21, 2019
Get the penis extension vehicle mug.