Is it safe to shre a reg exp object among threads?
overly.crazy.steve at gmail.com
overly.crazy.steve at gmail.com
Thu Jun 29 17:07:45 EDT 2006
Let's say I construct a regular expression object r by:
r = re.compile("some pattern")
Is it safe to let multiple threads to use r concurrently (use r.search
on different strings, etc.)?
Thanks.
More information about the Python-list
mailing list