3 ms·
The cache is of a limited unknown size. It's more reliable to explicitly precompile your regular expressions. EDIT: The cache appears to be 512 on Python 3.6 s
by cpburns2009 7y ago
The cache is of a limited unknown size. It's more reliable to explicitly precompile your regular expressions.
EDIT: The cache appears to be 512 on Python 3.6 so maybe precompiling isn't necessary unless you frequently use a large number of regular expressions.