Implement explicit $regex