make regex a constant