DEV Community

Building a regex debugger for the terminal in Rust (opens in new tab)

Cross-post from: I built rgx, a terminal regex debugger written in Rust. The v0.12.3 release is out today. Here's what's in it and why I built it the way I did. The problem I write regex-heavy code in terminal-centric workflows — SSH sessions, containers, scripts that pipe data around. Every time I needed to debug a pattern, I'd break flow to open a browser, tab over to regex101.com, paste in the pattern and test string, iterate, copy the pattern back, close the tab. The gap isn't just conven...

Read the original article
Sign in to keep reading the full article.

Covered in 1 article

this-week-in-rust.org·
Discussed on r/rust
Feeds

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help