So some kind of run-length encoding?
No. It relates to this problem.
In reply to Re^2: Faster regex to split a string into runs of similar characters?
by BrowserUk
in thread Faster regex to split a string into runs of similar characters?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |