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 subst-tution, 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)
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!

b-tterfly is an insect.

true is not false.

beautiful flowers have short lives.

Read Also:

  • humm

    a word used to show disbelief about someone. person 1: i spent last night with sarah mich-lle gellar! person 2: aw humm. person 1: it’s true! to throw an object with a snap of the wrist side arm, applying a spin to the object. making have the force to hit something and bounce off it. […]

  • regurgitated cum bubble

    this is used to describe what comes out of a womans stomach after she has swallowed a load of your man chowder and cannot keep it down, so she regurgitates it in the form of a bubble. dude you are such a regurgitated c-m bubble to swollow a mouth full of c-m and then throw […]

  • Hummer owner

    the reason why gas prices are so high! all hummer owners should be sent to iraq. they want the oil so bad they can get it their d-mned selves.

  • humpfh

    a word used in text, but is much moch more difficult to say (just try saying the h), and is therefore mostly used on msn, it is intended to make the aurthor seem near boredom, but infact macks them look like a deranged r-t-rd with no controll of thier fingers emotw-timsodepressed says: i just had […]

  • Hump Trump

    to be interrupted in the moment of intercourse. this interruption ruins the moment. similar to the c-ck block, but during s-x. guy 1 – “dude, not only did her friend unsuccessfully try to c-ck block me all night, when i finally put it in her i got a phone call from my mom.” guy 2 […]


Disclaimer: regular expression definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.