PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Regular Expressions

Regular Expressions

Regular Expressions is a query language created in 1951.

#50on PLDB 71Years Old 23.3kUsers
0Books 0Papers 59kRepos

A regular expression, regex or regexp (sometimes called a rational expression) is, in theoretical computer science and formal language theory, a sequence of characters that define a search pattern. Usually this pattern is then used by string searching algorithms for "find" or "find and replace" operations on strings. The concept arose in the 1950s when the American mathematician Stephen Cole Kleene formalized the description of a regular language. Read more on Wikipedia...


Example from Linguist:
\b(\d*1[1-3]th|\d*0th|(?:(?!11st)\d)*1st|\d*2nd|(?:(?!13rd)\d*)3rd|\d*[4-9]th)\b
Example from Wikipedia:
Hello World contains a character other than a, b, and c.

Language features

Feature Supported Example Token
Semantic Indentation
Line Comments
Comments
scheme.html 路 regex.html 路 reason.html

View source

PLDB - Build the next great programming language 路 v2022 Day 33 Docs Build Acknowledgements Traffic Today Traffic Trends Mirrors GitHub feedback@pldb.com