super-expressive
verbose-regexp
super-expressive | verbose-regexp | |
---|---|---|
6 | 1 | |
4,601 | 8 | |
- | - | |
4.6 | 4.1 | |
6 months ago | 11 months ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
super-expressive
- i'd like you to meet regex-
- Melody - A language that compiles to regular expressions and aims to be more easily readable and maintainable
-
💡 expressive-glob: Write glob patterns in a super expressive and an easy way!
This project is inspired by super-expressive!
-
A tale of knowledge building
super-expressive is a library to create Regular Expressions (RegExp) in almost natural language. It's useful, simple and well-documented. One downside it's that it's a runtime library, something else to add to our bundle.
- Super-expressive – Write regex in natural language
-
All cashiers need to see is your birth year starting with 1 and they know you're old enough.
Here's an attempt at making regex readable in javascript, https://github.com/francisrstokes/super-expressive
verbose-regexp
-
Melody - A language that compiles to regular expressions and aims to be more easily readable and maintainable
Sure, but in the context of a language that compiles to regex, verbose regexp is a pretty trivial transformation. Luckily, JS folk are pretty used to dealing with an anemic stdlib so using it as a library or a build step should feel right at home ;)
What are some alternatives?
babel-plugin-macros - 🎣 Allows you to build simple compile-time libraries
melody - Melody is a language that compiles to regular expressions and aims to be more readable and maintainable
regex-benchmark - It's just a simple regex benchmark of different programming languages.
RegExr - RegExr is a HTML/JS based tool for creating, testing, and learning about Regular Expressions.
babel-handbook - :blue_book: A guided handbook on how to use Babel and how to create plugins for Babel.
fluent-regex - A nice fluent and typed way to construct regular expressions
JSVerbalExpressions - JavaScript Regular expressions made easy
ocaml-re - Pure OCaml regular expressions, with support for Perl and POSIX-style strings
super-expressive.macro - 🎣 A macro to generate Regular Expressions (RegExp) at build-time with super-expressive.
expressive-glob - 💡 Write glob patterns in super expressive and an easy way!