Re:Interview with a Pornhub web developer (2019)
by praptak on Wednesday July 29, 2020 @12:51AM
(#23983609)
It's not always simple. Regexes have inherent complexity because the equivalent FSM is, in general case, nondeterministic. This implies it cannot always be easily simulated.
So you either drag this complexity into your code or dump it on the regex library. It's a trade-off.
So you either drag this complexity into your code or dump it on the regex library. It's a trade-off.