regex
- noun
- /ˈrɛɡɛks/
- Specialized
- In programming, a regex is often used to validate user input formats like email addresses.
Examples
-
So it's really scholarly people who know how to write a regex, right?
-
Some simple (but smart) regex should be able to separate the lines into.
Blog text (12) -
In the regex class, there is a "capture," but if you're writing something for a mobile phone, it could mean taking a picture.
Blog text (19) -
The application finder has been rewritten; its user interface has been improved. It now supports user-defined actions based on matching a prefix or a regex pattern, and it now replaces the "Run Program" dialog.
Blog text (7) -
The regex pattern "\d{3}-\d{2}-\d{4}" can be used to match Social Security numbers in the text.
-
When parsing data, it's essential to write an accurate regex to extract relevant information from logs.
Synonyms
A pattern of characters people use to find or change text
How Complex
- Specialized
- Specialized
Surface Forms
Morphology
regex = regular + expression (semi-transparent) = regular + expression
Formed by clipping/blending of 'regular' + 'expression' to create a technical term; the morphological source is clear but the specialized computing meaning is jargon-specific.
Etymology
The word regex is a short form of regular expression, where regular means following a 'rule' and expression means a way to 'say' something. So a regex is like a small 'pattern' or rule that tells a computer what text to find.