No. That won't match a single character 'run'.
Right. /((.)\2*)/g does though, and this time it is faster (by 12% on my computer).
In reply to Re^3: Faster regex to split a string into runs of similar characters?
by Eily
in thread Faster regex to split a string into runs of similar characters?
by BrowserUk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |