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
Regex works fine for most tasks, but locked my machine when finding matches in a 50MB string. Is there a way around this? I was trying to use it in place of NSRegularExpression in The Benchmark Game.
The text was updated successfully, but these errors were encountered:
Currently I'd recommend using NSRegularExpression or another well-known C library. The slowness is due to running an NFA. I have plans to rewrite the library using a DFA but I am still quite far from running any expression.
Regex works fine for most tasks, but locked my machine when finding matches in a 50MB string. Is there a way around this? I was trying to use it in place of NSRegularExpression in The Benchmark Game.
The text was updated successfully, but these errors were encountered: