Open
Description
Describe the bug
The getLength function is supposed to strip sequential characters after a run length of 2. e.g. fghijkl
should become fg
.
However, because it first replaces the sequence asdfghjkl
, it changes fghijkl
to fgijk
, which then becomes 'fgij
, a length of 4.
To Reproduce
Expected behavior
It should change fghijkl
to fg
Screenshots
If applicable, add screenshots or console output that helps explain the situation
Environment (please complete the following information):
- OS: [e.g. Linux Ubuntu]
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels