Raw strings in regex compare to keep pylint happy