Match sequences of consecutive characters in a string

前端 未结 4 1798
粉色の甜心
粉色の甜心 2020-12-19 05:31

I have the string \"111221\" and want to match all sets of consecutive equal integers: [\"111\", \"22\", \"1\"].

I know that there is a spe

4条回答
提交回复
热议问题