Our great sponsors
-
melody
Melody is a language that compiles to regular expressions and aims to be more readable and maintainable
-
RegExr
RegExr is a HTML/JS based tool for creating, testing, and learning about Regular Expressions.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
super-expressive
🦜 Super Expressive is a zero-dependency JavaScript library for building regular expressions in (almost) natural language
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Opened a discussion about this
There are tools like regexr.com that show you what each part of the regex does and where you can give sample texts to test it. But I have not known of tools so far that help in writing regex.
There is also a package called xr, which converts a regexp string to rx. (xr xdg-line-regexp) returns:
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 ;)
Related posts
- Why does it have to be like this?
- Melody - A readable language that compiles to regular expressions, now with Babel and NodeJS support!
- Melody – a language that compiles to regular expressions
- Melody 0.19.0 | A language that compiles to regular expressions and aims to be more readable and maintainable
- Melody 0.19.0 – A language that compiles to regular expressions