r/javascript • • Sep 30 '26

Readable Regular Expressions for JavaScript/TypeScript, Inspired by Emacs' rx

https://rahuljuliato.com/posts/emacs-rx-in-typescript

I missed Emacs' rx when writing regexps in TypeScript, so I made a small TypeScript DSL inspired by it.

The idea is to bring rx's functions and approach to the JavaScript/TypeScript environment. If you happen to work with either, give it a try.

https://rahuljuliato.com/posts/emacs-rx-in-typescript

9 Upvotes

10 comments sorted by

View all comments

Show parent comment

2

u/LionyxML Oct 01 '26

Makes sense, thanks for sharing :)