Cache NSRegularExpression instance

Regular expression's are compiled when they are initialized and are therefore expensive to create, so reuse the same instance.