auto-pairs icon indicating copy to clipboard operation
auto-pairs copied to clipboard

Clean up object logic

Open LunarWatcher opened this issue 2 years ago • 0 comments

Jiangmiao's regex-based system is a mess, and certain parts of the logic just... aren't good, or are really flawed. Mixing regex with non-regex causes Fun Problems:tm: like #41, #52, and possibly more yet to be discovered bugs.

Replacing the rules with lexima-like rules should do the trick. The key takeaway from it is really that we separate regex from input and output, which should also simplify certain parts of the code. Admittedly, this is going to be completely breaking, so it'll have to be done for 4.0.0.

LunarWatcher avatar Dec 01 '21 00:12 LunarWatcher