moved regexp to string