You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use capturing group in my pattern, I want the result of split can keep the matched strings. It seems the current implementation of split removed them.
For example: the patten is "(x)", the text is "1x2", the result should be ["1", "x", "2"]。