I'm still in the process of learning regexes, but I would think that
in reply to Re: most efficient regex to delete duplicate words
in thread most efficient regex to delete duplicate words
would be a little faster, as you don't need to store the second parenthesis match thingy, and you don't need to match zero or more copies of the first match, you need to match one or more.
Can someone please correct me or confirm this thought? Thanks.
PS: I've also been thinking about the /o modifier. Would this be a good place to use it?