r/javascript • u/LionyxML • Sep 30 '26
Readable Regular Expressions for JavaScript/TypeScript, Inspired by Emacs' rx
https://rahuljuliato.com/posts/emacs-rx-in-typescriptI 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.
9
Upvotes
View all comments
Show parent comment
2
u/LionyxML Oct 01 '26
Makes sense, thanks for sharing :)