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
7463
2 个月前

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

Rust
3674
5 个月前
learnbyexample/py_regular_expressions

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

Python
1787
1 天前

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

Swift
1379
3 个月前

🦉 human-readable regular expressions

PHP
1348
8 个月前

linear time regular expression matching in Java

Java
1203
3 个月前

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

1194
4 年前

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

Python
1127
1 年前

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

C++
654
2 年前

A high-performance C++ regex library and lexical analyzer generator with Unicode support. 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++
554
20 天前

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

JavaScript
513
5 天前

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

Rust
472
14 天前

Simple library for regular expressions in PHP.

PHP
451
3 个月前

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

JavaScript
365
3 年前

PEGs for Nim, another take

Nim
336
8 个月前
PHP
310
7 年前