regexp-tree icon indicating copy to clipboard operation
regexp-tree copied to clipboard

Another false-positive: `effect` => `ef{2}ect`

Open Jabher opened this issue 2 years ago • 1 comments

When using optimiser, I'm getting this weird useless optimisation: effect => ef{2}ect

Jabher avatar May 05 '22 10:05 Jabher

@Jabher thanks, yes, we may need to consider a threshold, e.g. 3-4 symbols. Will appreciate a PR for this.

DmitrySoshnikov avatar Sep 06 '23 20:09 DmitrySoshnikov