Brutkey

schuelermine
@anselmschueler@ieji.de

(obviously you can repeatedly substitute pairs but I wanna do it in ONE pass)


R.L. Dane :Debian: :OpenBSD: :FreeBSD: 🍡🍡 :MiraLovesYou:
@rl_dane@polymaths.social

@anselmschueler@ieji.de

s/\([ab]\)-\([xy]\)/\1\2/g ?

That's just ordinary regex

schuelermine
@anselmschueler@ieji.de

@rl_dane@polymaths.social that won’t replace overlapping pairs

a-x-a-x β†’ ax-ax