#

Regular expression

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.

https://static.github-zh.com/github_avatars/BurntSushi?size=40
Rust 55.36 k
5 天前
https://static.github-zh.com/github_avatars/ziishaned?size=40

以简单的方式学习正则表达式

46.08 k
21 天前
https://static.github-zh.com/github_avatars/sharkdp?size=40
Rust 39.66 k
10 天前
Blankj/AndroidUtilCode
https://static.github-zh.com/github_avatars/Blankj?size=40

#安卓#AndroidUtilCode 🔥 是一个强大易用的安卓工具类库,它合理地封装了安卓开发中常用的函数,具有完善的 Demo 和单元测试

Java 33.65 k
1 年前
https://static.github-zh.com/github_avatars/learnbyexample?size=40

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

Shell 10.2 k
1 年前
https://static.github-zh.com/github_avatars/any86?size=40

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

TypeScript 8.66 k
1 年前
pemistahl/grex
https://static.github-zh.com/github_avatars/pemistahl?size=40

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

Rust 7.58 k
3 天前
https://static.github-zh.com/github_avatars/chmln?size=40

Intuitive find & replace CLI (sed alternative)

Rust 6.58 k
5 个月前
https://static.github-zh.com/github_avatars/CJex?size=40
TypeScript 5.82 k
3 年前
https://static.github-zh.com/github_avatars/intel?size=40

High-performance regular expression matching library

C++ 5.1 k
5 个月前
https://static.github-zh.com/github_avatars/VincentSit?size=40

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

4.8 k
3 年前
yoav-lavi/melody
https://static.github-zh.com/github_avatars/yoav-lavi?size=40

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

Rust 4.7 k
10 个月前
https://static.github-zh.com/github_avatars/geongeorge?size=40

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

Vue 4.53 k
2 年前
unjs/magic-regexp
https://static.github-zh.com/github_avatars/unjs?size=40

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

TypeScript 4.25 k
16 小时前
https://static.github-zh.com/github_avatars/Bowen7?size=40
TypeScript 4.11 k
5 个月前
https://static.github-zh.com/github_avatars/aykutkardas?size=40
TypeScript 3.85 k
3 个月前
https://static.github-zh.com/github_avatars/rust-lang?size=40

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

Rust 3.79 k
21 天前
loading...

Created by Stephen Cole Kleene

发布于 1950

Website
Wikipedia
维基百科