Zurück zum Ranking

unjs/magic-regexp

TypeScriptregexp.dev

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

regexptypescriptregexregular-expressionhacktoberfest
Sterne-Wachstum
Sterne
4.3k
Forks
73
Wochenwachstum
Issues
25
2k3k4k
Juli 2022Nov. 2023März 2025Juli 2026
Artefaktenpmnpm install magic-regexp
README

🦄 magic-regexp

npm version npm downloads Github Actions Codecov Bundlephobia nuxt.care health

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

Features

  • Runtime is zero-dependency and ultra-minimal
  • Ships with transform to compile to pure RegExp
  • Automatically typed capture groups
  • Natural language syntax
  • Generated RegExp displays on hover

📖  Read more

💻 Development

  • Clone this repository
  • Enable Corepack using corepack enable (use npm i -g corepack for Node.js < 16.10)
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

Similar packages

License

Made with ❤️

Published under MIT License.

Ähnliche Repositories
any86/any-rule

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

TypeScriptnpmMIT Licensezheng-zeregexp
any-rule.vercel.app
8.7k811
pemistahl/grex

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

Rustcrates.ioApache License 2.0command-line-tooltool
pemistahl.github.io/grex-js/
8.2k196
CJex/regulex

:construction: Regular Expression Excited!

TypeScriptnpmMIT Licensejavascriptregulex
jex.im/regulex/
5.8k754
yoav-lavi/melody

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

Rustcrates.ioApache License 2.0regular-expressionlanguage
yoav-lavi.github.io/melody/book/
4.7k57
Bowen7/regex-vis

🎨 Regex visualizer & editor

TypeScriptnpmMIT Licenseregexregexp
regex-vis.com
4.4k328
aykutkardas/regexlearn.com

Learn RegEx step by step, from zero to advanced.

TypeScriptnpmMIT Licenseregextool
regexlearn.com
4.1k270
rust-lang/regex

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

Rustcrates.ioApache License 2.0regexregexp
docs.rs/regex
4k516
slevithan/xregexp

Extended JavaScript regular expressions

JavaScriptnpmMIT Licenseregexregular-expression
xregexp.com
3.3k271
cdoco/common-regex

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

MIT Licenseregexcommon-regex
3.1k409
cdoco/learn-regex-zh

:cn: 翻译: 学习正则表达式的简单方法

MIT Licenselearn-regexregex
2.7k469
kkos/oniguruma

regular expression library

COtherregular-expressionregexp
2.5k351
mathiasbynens/emoji-regex

A regular expression to match all Emoji-only symbols as per the Unicode Standard.

JavaScriptnpmMIT Licenseemojiregex
mths.be/emoji-regex
1.9k172