Is it possible to execute a regular expression within certain timeframe? For example, we execute regex r and we wait for it to finish maximum 5 seconds, otherwise we cancel. Is this something anyone has experience with?
Is it possible to execute a regular expression within certain timeframe? For example, we
Share
i’m not quite sure what you mean by “execute”, but in certain cases it’s possible to turn a blocking operation into a loop: