super-expressive
xr
super-expressive | xr | |
---|---|---|
6 | 1 | |
4,601 | 58 | |
- | - | |
4.6 | 7.3 | |
6 months ago | about 1 month ago | |
JavaScript | Emacs Lisp | |
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
xr
-
Melody - A language that compiles to regular expressions and aims to be more easily readable and maintainable
There is also a package called xr, which converts a regexp string to rx. (xr xdg-line-regexp) returns:
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!