cached RegExp