Repository navigation

#

Regular expression

Created by Stephen Cole Kleene

发布于 1950

维基百科

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.

pemistahl/grex

A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases

Rust
7554
6 个月前

An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.

Rust
3760
5 天前
learnbyexample/py_regular_expressions

Learn Python Regular Expressions step by step from beginner to advanced levels

Python
1803
4 个月前

It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.

Swift
1385
7 个月前

🦉 human-readable regular expressions

PHP
1350
1 年前

linear time regular expression matching in Java

Java
1220
7 个月前

Secrets Patterns DB: The largest open-source Database for detecting secrets, API keys, passwords, tokens, and more.

Python
1214
13 天前

Guides for learning + doing better web and app development. Created by Coding for Entrepreneurs.

1197
5 年前

A Windows Shell Extension for more advanced bulk renaming using search and replace or regular expressions

C++
683
3 年前

Yet another high-performance C++ regex library and lexical analyzer generator like Flex: extends Flex++ with Unicode support, indent/dedent anchors, lazy quantifiers, functions for lex and syntax error reporting and more. Seamlessly integrates with Bison and other parsers.

C++
568
2 个月前

node.js bindings for RE2: fast, safe alternative to backtracking regular expression engines.

JavaScript
521
3 个月前

Rust library for regular expressions using "fancy" features like look-around and backreferences

Rust
502
5 小时前

Simple library for regular expressions in PHP.

PHP
450
1 个月前

Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.

JavaScript
367
4 年前

PEGs for Nim, another take

Nim
337
1 年前

Common Lisp regular expression library

Common Lisp
311
2 个月前