GitHub 中文社区
回车: Github搜索    Shift+回车: Google搜索
论坛
排行榜
趋势
登录

©2025 GitHub中文社区论坛GitHub官网网站地图GitHub官方翻译

  • X iconGitHub on X
  • Facebook iconGitHub on Facebook
  • Linkedin iconGitHub on LinkedIn
  • YouTube iconGitHub on YouTube
  • Twitch iconGitHub on Twitch
  • TikTok iconGitHub on TikTok
  • GitHub markGitHub’s organization on GitHub
集合主题趋势排行榜
#

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.

Created by Stephen Cole Kleene

发布于 1950

Website
Wikipedia
维基百科
https://static.github-zh.com/github_avatars/BurntSushi?size=40
BurntSushi / ripgrep

#效率工具集合#ripgrep 是一个命令行文件搜索工具,自动递归、正则匹配内容

ripgreprecursively-searchsearchRegular expressiongitignoregrepcommand-line-tool命令行界面Rust
Rust 53.08 k
16 天前
https://static.github-zh.com/github_avatars/ziishaned?size=40
ziishaned / learn-regex

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

Regular expression
46.03 k
3 个月前
https://static.github-zh.com/github_avatars/sharkdp?size=40
sharkdp / fd

#效率工具集合#fd是一种简单、快速和用户友好的find命令替代方案

命令行界面工具filesystemsearchRegular expressionRust终端Hacktoberfest
Rust 38.35 k
7 天前
Blankj/AndroidUtilCode
https://static.github-zh.com/github_avatars/Blankj?size=40
Blankj / AndroidUtilCode

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

AndroidAppbarcacheencodeencryptfilefragmentlogNetworkpermissionRegular expressionsnackbarspannable-stringtoastutilsthread-poolreflectandroidxeventbus
Java 33.58 k
10 个月前
https://static.github-zh.com/github_avatars/tindy2013?size=40
tindy2013 / subconverter

Utility to convert between various subscription format

Clashclashrsurgequantumultquantumultxsurfboardv2rayShadowsocksssrRegular expressiongistEmojirenamesubconverter
C++ 14.54 k
22 天前
https://static.github-zh.com/github_avatars/dottxt-ai?size=40
dottxt-ai / outlines

Structured Text Generation

generative-ai大语言模型prompt-engineeringsymbolic-aicfgJSONRegular expressionstructured-generation
Python 11.75 k
2 天前
https://static.github-zh.com/github_avatars/learnbyexample?size=40
learnbyexample / Command-line-text-processing

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

命令行界面Linuxtext-processingebooksedgrepPerlawkRubyRegular expression
Shell 10.19 k
1 年前
https://static.github-zh.com/github_avatars/any86?size=40
any86 / any-rule

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

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

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

command-line-tool工具Regular expressionregex-patternRust命令行界面终端rust-libraryrust-cratePythonpython-library
Rust 7.5 k
4 个月前
https://static.github-zh.com/github_avatars/chmln?size=40
chmln / sd

Intuitive find & replace CLI (sed alternative)

命令行界面Rust终端text-processingRegular expression
Rust 6.33 k
2 个月前
https://static.github-zh.com/github_avatars/CJex?size=40
CJex / regulex

🚧 Regular Expression Excited!

JavaScriptRegular expressiondiagramTypeScript
TypeScript 5.81 k
3 年前
https://static.github-zh.com/github_avatars/intel?size=40
intel / hyperscan

High-performance regular expression matching library

Regular expression
C++ 5.01 k
2 个月前
https://static.github-zh.com/github_avatars/VincentSit?size=40
VincentSit / ChinaMobilePhoneNumberRegex

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

phone-numberRegular expressionmainland-chinachina-unicomchina-mobilechina-telecom
4.79 k
3 年前
yoav-lavi/melody
https://static.github-zh.com/github_avatars/yoav-lavi?size=40
yoav-lavi / melody

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

Regular expressionlanguage编译器melodymelodylangRust
Rust 4.68 k
7 个月前
https://static.github-zh.com/github_avatars/geongeorge?size=40
geongeorge / i-hate-regex

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

Regular expressionNuxt.jsVue.jsTailwind CSS
Vue 4.52 k
1 年前
unjs/magic-regexp
https://static.github-zh.com/github_avatars/unjs?size=40
unjs / magic-regexp

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

Regular expressionTypeScriptHacktoberfest
TypeScript 4.09 k
4 天前
https://static.github-zh.com/github_avatars/Bowen7?size=40
Bowen7 / regex-vis

#编辑器#🎨 Regex visualizer & editor

Regular expressionvisualizereditorTypeScripttsxReact
TypeScript 4.04 k
2 个月前
https://static.github-zh.com/github_avatars/aykutkardas?size=40
aykutkardas / regexlearn.com

#学习与技能提升#一步一步地学习正则表达式,从入门到高级。

Regular expression工具教程guidelearn
TypeScript 3.76 k
2 个月前
https://static.github-zh.com/github_avatars/rust-lang?size=40
rust-lang / regex

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

Regular expressionregex-engineregex-syntaxregex-parserRustdfanfaAutomaton
Rust 3.71 k
7 个月前
hanickadot/compile-time-regular-expressions
https://static.github-zh.com/github_avatars/hanickadot?size=40
hanickadot / compile-time-regular-expressions

Compile Time Regular Expression in C++

Regular expressionC++header-onlyconstexprcompile-timeAwesome Liststemplate-udlpcre
C++ 3.58 k
1 个月前
loading...