I searched the NEWS file in the latest libc (2.13) version for the regex keyword. There is nothing in thread safety, but the following note:
Version 2.3 ... Isamu Hasegawa contributed a completely new and POSIX-conformant implementation of regex.
But according to this , after version 2.3 there was a problem with concurrency, so everything does not look so good for 2.2.5
According to this very similar question POSIX correspondence means that regexec should be thread safe, but that does not mean that there is no libc in the earlier version of concurrency error.
source share