Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

Regular Expressions

Regular Expressions - Query language

< >

Regular Expressions is a query language created in 1951.

#56on PLDB 72Years 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 Token Example
Semantic Indentation X
Line Comments X
Comments X
vba.html 路 regex.html 路 solidity.html

View source

- Build the next great programming language Search Day 214 About Blog Acknowledgements Traffic Traffic Today GitHub feedback@pldb.com