←
Steven Levithan1,234 posts
Steven Levithan avatar

Steven Levithan

@slevithan

Creator → sugu.now/, Regex+, Oniguruma-To-ES, xregexp.com/ Coauthor → Regular Expressions Cookbook, High Performance JavaScript

◷ Joined May 2008▧ 11 Photos and videos
Steven Levithan avatar
Steven Levithan@slevithan·Oct 27

I’ve spent the last 16 months building Sugu, a beautiful language learning app that will help you learn and retain practical vocabulary faster than you might expect. Started because I needed a better Serbian app. Now has Spanish, French, Serbian, Croatian, Catalan & more coming!

Post attachment
Steven Levithan avatar
Steven Levithan@slevithan·9 Dec 2025

Regex+ 6.1.0 released. Adds even cleaner and more robust interpolation of RegExp instances and partial patterns. And improved docs. 😁

Steven Levithan avatar
Steven Levithan@slevithan·21 Nov 2025

Oniguruma-To-ES now has 12M dl/m. Most of that comes from Shiki, which uses it to make VSCode-style syntax highlighting possible in native JS (no large WASM). I like to think it's contributing to Shiki's rapid growth :) Recent example is in Vercel's streamdown.ai

Steven Levithan avatar
Steven Levithan@slevithan·2 Aug 2025

Shiki's JS RegExp engine (for high quality syntax highlighting without WASM, built on top of my Oniguruma-To-ES library) now supports 100% of Shiki's 222 built-in languages 🎉 github.com/shikijs/shiki/pul…

Steven Levithan avatar
Steven Levithan@slevithan·21 Apr 2025

🚢 Released emoji-regex-xs v2.0. Now matches all underqualified emoji included in Unicode's emoji-test.txt list, to better match @mathias's excellent emoji-regex and real-world emoji use. Lib size reduced from 0.3 to 0.2 kB in the process :)

Steven Levithan avatar
Steven Levithan@slevithan·19 Apr 2025

Regular expressions should not change the length of a match based on case insensitivity. My case for a breaking change in Oniguruma: github.com/kkos/oniguruma/is…

Steven Levithan avatar
Steven Levithan@slevithan·16 Apr 2025

The Onig optimizer (new release today!) built on the same parser github.com/slevithan/oniguru… is also in a class of its own, and has rapidly improved. (regexp-tree's optimizer is pretty good for JS regexes and was early inspiration, but the Onig version has surpassed it in many ways.)

oniguruma-to-es v4.2.0 shipped! 🚢 Continues improving by far the most sophisticated regex translator in the world. JS coders who've never used Oniguruma might still find it useful if they want much more feature-rich regexes (with native perf!) github.com/slevithan/oniguru…

kishikawa katsumi 🍪 avatar
⟳ Steven Levithan retweeted
kishikawa katsumi 🍪@k_katsumi·6 Apr 2025

swiftregex.comをアップデートしてSwift Regexのデバッガを追加しました。パフォーマンスに影響するBacktrack数を調べたりステップごとに実行したりできます。

0:26
Steven Levithan avatar
Steven Levithan@slevithan·13 Apr 2025

oniguruma-to-es v4.2.0 shipped! 🚢 Continues improving by far the most sophisticated regex translator in the world. JS coders who've never used Oniguruma might still find it useful if they want much more feature-rich regexes (with native perf!) github.com/slevithan/oniguru…