2 ms·
(late, but...) Frequently because Perl's regex library is insanely fast. Faster than if statements + smaller regex / roll-your-own. (as long as there's no lo
by Groxx 16y ago
(late, but...)
Frequently because Perl's regex library is insanely fast. Faster than if statements + smaller regex / roll-your-own.
(as long as there's no look-ahead / look-behinds. It's still fast then, but custom functions can sometimes do better.)