Comment Comment by brokencube Correct me if I'm wrong, but couldn't this could have been fixed by making the match possessive:^[\s\u200c]++|[\s\u200c]++$That should stop any runaway backtracking? parent brokencube 10 years ago
^[\s\u200c]++|[\s\u200c]++$
That should stop any runaway backtracking?