Regular expression engine written in C
-
Updated
Oct 8, 2018 - C
A regular expression (shortened as regex or regexp), sometimes referred to as rational expression, is a sequence of characters that specifies a match pattern in text. Usually such patterns are used by string-searching algorithms for "find" or "find and replace" operations on strings, or for input validation.
Regular expression techniques are developed in theoretical computer science and formal language theory. They are used in search engines, in search and replace dialogs of word processors and text editors, in text processing utilities such as sed and AWK, and in lexical analysis. Regular expressions are also supported in many programming languages.
Different syntaxes for writing regular expressions have existed since the 1980s, one being the POSIX standard and another, widely used, being the Perl syntax.
Regular expression engine written in C
Henry Spencer's old regular expression library, also known as the book regex library, circa 1986. (Atari build)
A POSIX regex utilities library for C
Tree-sitter grammar for JavaScript regular expressions (without the Unicode flag)
A port of the historical DECUS grep.c to Rust
KISS/YAGNI Regex
simplified and basic regex library
Tree-sitter grammar for JavaScript regular expressions with the Unicode flag set
Regex Library for KOS (submodule for regcomp(3) & regexec(3))
A simple and efficient regular expression implementation