Try it here: https://lhoursquentin.github.io/sed-ts
Not complete yet & a little buggy, some known issues/missing features:
- no support for
t
&b
cmds without label - no support for custom delimiters (e.g.
s+foo+bar+
) (also doesn't support escaped/
yet) - currently uses js regex & js replace patterns
s/(pattern) rest/$1 $&/
- no support for
w
/r
cmds - ranges do not work as expected with the
c
cmd - debugger is confusing when executing a single cmd
- infinite loops will freeze your tab (stack overflow)
- not mobile friendly
- ...