shabble / irssi-scripts

Repo to store some personal irssi scripts
151 stars 24 forks source link

historical in-channel regex substitution #13

Open shabble opened 13 years ago

shabble commented 13 years ago

Idea

In some channels it's commonplace to correct your mistakes with a pseudo-regex, for example:

<Foo> I love badgers!
<Bar> Badgers, really?!
<Foo> s/badgers/horses/

Instead of mentally parsing it, get irssi to do it!

It needs some security and sanity checking for the replacement string, and should have a couple of thresholds / restrictions. Something like:

https://github.com/shabble/irssi-scripts/blob/master/feature-tests/linehax.pl

ailin-nemui commented 9 years ago

http://anti.teamidiot.de/static/nei/*/Code/Irssi/typofix.pl