On Tue, May 19, 2020 at 8:10 PM Henk-Jaap Wagenaar <wagenaarhenkjaap@gmail.com> wrote:
David (or somebody else) could you give us some, as real as possible, examples? This will strengthen the case for it!

I am confident they exist and are pretty plentiful but I myself am coming up blank thinking about it for a few minutes and documenting them would be good for discussion.

I agree, I can't think of use cases for this.

Another way to solve this:

```
>>> re.sub(r"[123]{,4}$", "", "abc123123")
'abc12'
```