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.

ripgrep recursively searches directories for a regex pattern while respecting your gitignore

Rust
55840
10 小时前

Learn regex the easy way

46106
1 个月前

A simple, fast and user-friendly alternative to 'find'

Rust
39914
2 天前

⚡ From finding text to search and replace, from sorting to beautifying text and more 🎨

Shell
10192
1 年前

🦕 常用正则大全, 支持web / vscode / idea / Alfred Workflow多平台

TypeScript
8656
1 年前
pemistahl/grex

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

Rust
7603
4 天前

Intuitive find & replace CLI (sed alternative)

Rust
6615
6 个月前

🚧 Regular Expression Excited!

TypeScript
5820
3 年前

High-performance regular expression matching library

C++
5151
6 个月前

Regular expressions that match the mobile phone number in mainland China. / 一组匹配中国大陆手机号码的正则表达式。

4793
3 年前
yoav-lavi/melody

Melody is a language that compiles to regular expressions and aims to be more readable and maintainable

Rust
4709
10 个月前

The code for iHateregex.io 😈 - The Regex Cheat Sheet

Vue
4538
2 年前
unjs/magic-regexp

A compiled-away, type-safe, readable RegExp alternative

TypeScript
4253
5 天前
TypeScript
4121
6 个月前

Learn RegEx step by step, from zero to advanced.

TypeScript
3865
4 个月前

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

Rust
3797
9 天前

Extended JavaScript regular expressions

JavaScript
3327
3 个月前

🎃 常用正则表达式 - 收集一些在平时项目开发中经常用到的正则表达式。

3145
7 年前