3 ms·
In perl: print($1) if(/^hello (w[^d]+d)/); Do the same in python and pipe the code to wc -c Oh, and note the absence of any "import" statement or quotes in t
by ur-whale 6y ago
In perl:
print($1) if(/^hello (w[^d]+d)/);
Do the same in python and pipe the code to wc -c
Oh, and note the absence of any "import" statement or quotes in the perl code.
Python is not has heavy-handed as C++ for regex parsing, but not by much.