Skip to main content
regexp

regexp

2 8.2
A pattern of characters people use to find or change text
  • noun
  • /ˈrɛɡɛxp/
  • Specialized
translation icon : expresión regular
  • If you aren't, change the regexp to escape apostrophes instead of doubling them, and prefix the string with E, so O'Brien becomes E'O'Brien.

Examples

  • You cannot implement a faster/better regexp engine in Perl itself without using the underlying regexp engine.

    Blog text (32)
  • A simple strcmp is not going to cut it, and a regexp compare is even trickier.

    Blog text (32)
  • You cannot implement a faster/better regexp engine in Perl itself without using the underlying regexp engine.

    Blog text (32)
  • A regexp is used to search for specific patterns in text documents.

  • When writing a regexp, remember to escape special characters to ensure accurate matches.

  • This regexp can effectively identify email addresses within a larger body of text.

Synonyms

regex
vsregexp
  • Specialized
1 6.9

A set of characters that tells a program how to find text

is used across computing for finding or manipulating text

How Specific

regexp
  • Specialized
2 8.2
pattern
2.3
wildcard
  • Specialized
1 4.6

Surface Forms

regexp singular
regexps plural

Morphology

regexp = regular + expression (semi-transparent) = reg + exp

The form is clearly short for 'regular expression', but the specific technical meaning (a pattern syntax used in computing) is specialized and not fully derivable by a general learner.

Etymology

Regexp comes from the words regular and expression. regular means 'following a rule' and expression means 'something that shows', so a regexp is a short pattern you give a computer to find or change text.