Description
RegularExpression has a static data member fWordRange which is initialized in a way that is not thread-safe. Also, it does not register a cleanup function, so when the library is terminated, and dangling pointer is left behind.
A patch is attached for review.